After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 695384 - make it possible to prepend dns entries to /etc/resolv.conf, not just append
make it possible to prepend dns entries to /etc/resolv.conf, not just append
Status: RESOLVED DUPLICATE of bug 656260
Product: NetworkManager
Classification: Platform
Component: general
0.9.x
Other Linux
: Normal enhancement
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-03-07 18:50 UTC by Gergely Risko
Modified: 2013-03-26 14:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gergely Risko 2013-03-07 18:50:24 UTC
Currently the connection specific "dns" option always appends nameservers to the ones received from DHCP.  I want the opposite, prepend 127.0.0.1, so if bind is running on my machine, I can use that (bugfree, privacy non-invasive), but if it's stopped for some reason, I can still google around trying to fix it :)

The current possibility of appending nameservers are not very useful to me, because I don't want to prefer the network provided servers.

Using "prepend 127.0.0.1;" in /etc/dhcp/dhclient.conf is not an option either, because I want to do this prepending in a connection specific way, only for some connections.
Comment 1 Dan Winship 2013-03-26 14:57:28 UTC
There are lots of people who want to slightly tweak resolv.conf management in
slightly different ways. Rather than add options for every possibility, we're
just going to make it possible to write your own script to write out
resolv.conf the way you want it.

*** This bug has been marked as a duplicate of bug 656260 ***