Guest Shakes Posted September 22, 2004 Report Share Posted September 22, 2004 (edited) I have configured my NIC to use DHCP. This works fine and I get my IP as expected from the router. The problem is I have slow resolving of hosts when I use Mozilla. I have discovered this is because Mandrake has set my /etc/resolve.conf to contain: nameserver 127.0.0.1 nameserver 62.241.162.200 nameserver 62.241.160.200 As far as I can see it's plucked these numbers out of the air. The router is on 192.168.0.1 and gets it's DNS server automatically from the ISP. Whenever I change the /etc/resolve.conf file it is overwritten again on reboot. I want it to stay as I left it. How do I get Mandrake to leave it untouched? I have tried setting the file permissions to read only for everyone but it still changes it on reboot. I'm sorry if this topic has been seen before but I have been spending hours searching the internet for how to fix this. Every forum I find where people have the same problem seems to not have a solution. Any help would be greatly appreciated. Thanks. Edited September 26, 2004 by Shakes Quote Link to comment Share on other sites More sharing options...
Gowator Posted September 22, 2004 Report Share Posted September 22, 2004 Its probably becuase you RE USING dhcp ??? if so its probably gettig new info each time from the router which *should* be exporting its default route by dhcp Quote Link to comment Share on other sites More sharing options...
Guest Shakes Posted September 22, 2004 Report Share Posted September 22, 2004 (edited) yeah I think your right. I set it up to be static and it seems to be working. I'll just keep it as static for the sake of this. Thanks. (EDIT: Please look below as this hasn't actually worked) Edited September 24, 2004 by Shakes Quote Link to comment Share on other sites More sharing options...
Guest Shakes Posted September 23, 2004 Report Share Posted September 23, 2004 Actually this didn't work because on reboot 127.0.0.1 was still added to /etc/resolve.conf as the first entry. Resolving host is back to being slow. Anyone know how I stop this? Quote Link to comment Share on other sites More sharing options...
Guest Shakes Posted September 24, 2004 Report Share Posted September 24, 2004 I still need help with this if anyone has ideas? Is there a config script that I can turn something off in that writes over /etc/resolve.conf or something? Quote Link to comment Share on other sites More sharing options...
Guest Shakes Posted September 24, 2004 Report Share Posted September 24, 2004 I have had a look in /etc/sysconfig and grepped for "127.0.0.1" to see what might be setting that as the first DNS server. The only files I find are : network-scripts/ifcfg-lo:IPADDR=127.0.0.1 networking/ifcfg-lo:IPADDR=127.0.0.1 I dunno what these are referring to since my NIC is eth0 and there is an ifcfg-eth0 file for that. Anyone know what the files returned are for or if they are relevant to my problem? Quote Link to comment Share on other sites More sharing options...
samael26 Posted October 7, 2004 Report Share Posted October 7, 2004 I have had a look in /etc/sysconfig and grepped for "127.0.0.1" to see what might be setting that as the first DNS server. The only files I find are :network-scripts/ifcfg-lo:IPADDR=127.0.0.1 networking/ifcfg-lo:IPADDR=127.0.0.1 I dunno what these are referring to since my NIC is eth0 and there is an ifcfg-eth0 file for that. Anyone know what the files returned are for or if they are relevant to my problem? <{POST_SNAPBACK}> <in Running Linux, 4th Edition : "127.0.0.1 is the address of the system itself, by default". It means your system is connected to itself, "isolated from the world", hence you can't get to the web if it is your addresse by default.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.