Re: NM on Fedora F9 - frustration w/dyn dns



On Mon, 2008-08-11 at 05:58 -0400, Neal Becker wrote:
> NetworkManager-0.7.0-0.9.4.svn3675.fc9.x86_64
> 
> I want to overide /etc/resolv.conf when using dhcp.

What's in F9-updates-testing should allow you to "ignore automatically
provided DNS information" and then you can just enter your own DNS
servers in the connection editor...

Dan

> It _used_ to work to use /etc/dhclient.conf-eth0, but it seems not anymore.
> 
> Now that doesn't work, so I tried a script in /etc/NetworkManager/dispatcher.d:
> 
> 10-DNS ----
> #!/bin/bash
> #
> # Override /etc/resolv.conf and tell
> # NetworkManagerDispatcher to go pluck itself.
> #
> # scripts in the /etc/NetworkManager/dispatcher.d/ directory
> # are called alphabetically and are passed two parameters:
> # $1 is the interface name, and $2 is “up” or “down” as the
> # case may be.
> # Here, no matter what interface or state, override the
> # created resolver config with my config.
> cp -f /etc/resolv.conf.myDNSoverride /etc/resolv.conf
> 
> This doesn't work either.  It did setup resolv.conf when the I/F first came up, but later that night:
> 
> Aug 11 03:30:44 nbecker1 NetworkManager: <info>  DHCP: device wlan0 state changed bound -> renew
> Aug 11 03:30:44 nbecker1 NetworkManager: <info>    address 192.168.1.113
> Aug 11 03:30:44 nbecker1 NetworkManager: <info>    netmask 255.255.255.0
> Aug 11 03:30:44 nbecker1 NetworkManager: <info>    gateway 192.168.1.1
> Aug 11 03:30:44 nbecker1 NetworkManager: <info>    hostname 'nbecker1'
> Aug 11 03:30:44 nbecker1 NetworkManager: <info>    nameserver '192.168.1.1'
> A
> 
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]