[Bug 1000728] Re: /etc/resolv.conf is autogenerated but the comments in the file don't say where from
Thomas Hood
1000728 at bugs.launchpad.net
Thu May 17 13:34:35 UTC 2012
To address your problem more directly: If you are using ifup to
configure an interface then, yes, to add information to resolv.conf you
should include dns-* options in /etc/network/interfaces within the
"iface" definition for the interface in question. The syntax is:
dns-nameservers <address1> <address2>
and NOT as you described it (with multiple "dns-nameservers" lines).
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to resolvconf in Ubuntu.
https://bugs.launchpad.net/bugs/1000728
Title:
/etc/resolv.conf is autogenerated but the comments in the file don't
say where from
Status in “resolvconf” package in Ubuntu:
Invalid
Bug description:
The default /etc/resolv.conf contains the following heading:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
Which is great, but it doesn't tell users where they *should* be
making their changes.
That location I assume should be:
/etc/network/interfaces
With the format:
dns-nameservers x.x.x.x
dns-nameservers x.x.x.x
But we should imho point to that file and have a commented out
example.
Currently running 12.04 resolvconf version 1.63ubuntu11
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1000728/+subscriptions
More information about the foundations-bugs
mailing list