/etc/resolv.conf is incorrect



Hi list

For some reason NM doesn't provide a correct /etc/resolv.conf file on
one of the sites where I work. I have to manually add a nameserver to
access the internet.
Starting NM with "NetworkManager --no-daemon" gives me this output. The
resulting resolv.conf is below.

As you can see the second nameserver is a duplicate of the first. I had
3 nameservers in the dhcpd.conf which is the source of these IPs. I
removed the last since I know that 3 nameservers has caused problems
with NM in the past. That didn't help. 

I'm running Fedora Core 4 i386, with the latest updates-released
installed. 
$rpm -q NetworkManager
NetworkManager-0.5.1-1.FC4.4


------- NetworkManager --no-daemon -------------
NetworkManager: <information>   Activation (eth0) Beginning DHCP
transaction.
NetworkManager: <information>   DHCP daemon state now 12 for interface
eth0
NetworkManager: <information>   Activation (eth0) Stage 3 (IP Configure
Start) complete.
NetworkManager: <information>   DHCP daemon state now 1 for interface
eth0
NetworkManager: <information>   DHCP daemon state now 2 for interface
eth0
NetworkManager: <information>   Activation (eth0) Stage 4 (IP Configure
Get) scheduled...
NetworkManager: <information>   Activation (eth0) Stage 4 (IP Configure
Get) started...
NetworkManager: <information>   Retrieved the following IP4
configuration from the DHCP daemon:
NetworkManager: <information>     address 192.168.2.76
NetworkManager: <information>     netmask 255.255.255.0
NetworkManager: <information>     broadcast 192.168.2.255
NetworkManager: <information>     gateway 192.168.2.1
NetworkManager: <information>     nameserver 192.168.2.2
NetworkManager: <information>     nameserver 194.239.134.83
NetworkManager: <information>     domain name 'klippegang.dk'
NetworkManager: <information>   Activation (eth0) Stage 5 (IP Configure
Commit) scheduled...
NetworkManager: <information>   Activation (eth0) Stage 4 (IP Configure
Get) complete.
NetworkManager: <information>   Activation (eth0) Stage 5 (IP Configure
Commit) started...
NetworkManager: <information>   Your IP address = 192.168.2.76
NetworkManager: <information>   Restarting mDNSResponder.
NetworkManager: <information>   Activation (eth0) successful, device
activated.
NetworkManager: <information>   Activation (eth0) Finish handler
scheduled.
NetworkManager: <information>   Activation (eth0) Stage 5 (IP Configure
Commit) complete.

----- file generated by NM ----
# generated by NetworkManager, do not edit!

search klippegang.dk


nameserver 192.168.2.2
nameserver 192.168.2.2
------ EOF ----




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