On Fri, 2010-08-27 at 13:02 +0200, Till Maas wrote:
On Fri, Aug 27, 2010 at 11:43:41AM +0200, Thomas Moschny wrote:
> 2010/8/27 Jesse Keating <jkeating(a)j2solutions.net>:
> > That's strange. I use it on my laptop, which has a caching local DNS
> > server (dnsmasq) and it works just fine. I do have a script in
> > /etc/NetworkManager/dispatcher.d/ that waits for bringup and vpn bring
> > up to make adjustments to the running local DNS server (which seems
> > easier with NM than it would be with the old scripts).
>
> How can it be easier than this line in /etc/dhcp/dhclient-eth0-up-hooks:
> new_domain_name_servers="127.0.0.1 $new_domain_name_servers"
This worked until recently on Fedora 12:
$ cat /etc/dhclient-eth1.conf
interface "eth1" {
supersede domain-name-servers 127.0.0.1;
}
If that broke, then it's a bug and I'll fix it. NM still
checks /etc/dhclient-<iface>.conf first, and if that does not exist,
falls back to the new preferred location (used by anaconda and others)
of /etc/dhcp/dhclient-<iface>.conf. If not, I need to fix it.
Dan