-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

First of all a server really should have a static ip, not dhcp that
assigns the same ip by mac address. It's just not the same.

To keep your /etc/resolv.conf from being mangled you need to edit the
/etc/dhcp3/dhclient.conf file and uncomment the line below

#prepend domain-name-servers 127.0.0.1;

change it to this for OpenDNS

prepend domain-name-servers 208.67.220.220,208.67.222.222;

Or Level3's...I've been using them for years, because its so easy to
remember
prepend domain-name-servers 4.2.2.1,4.2.2.2;


Why is OpenDNS better, frankly most ISP's have very poor DNS with a
small cache and are nowhere near the scale of OpenDNS's or Level3's DNS
network. Their DNS servers are anycasted which gives you the nearest
route to your location.

If there is a difference between OS's it's strictly due to the flags the
that were enabled, while the package was built for the rpm vs the deb.

Bryan

Ian wrote:
| I went back and forth between my Debian server and my Fedora desktop
| and noticed some interesting things. On Fedora DNS lookups work fine
| in elinks and every other applications except wget, unless ipv6 is
| enabled in which case it takes exactly 20 seconds to do a DNS lookup.
| Wget on Fedora still takes 20 seconds to do its DNS lookup even with
| ipv6 disabled unless I explicitly use the -4 flag with it. On Debian
| all DNS lookups take 20 seconds for me even with ipv6 disabled. The
| resolv.conf on both boxes just has the ip of the router listed as the
| nameserver.
|
| When I added OpenDNS as the first nameserver in resolve.conf, all DNS
| lookups started working like they should in Debian and wget lookups
| were corrected in Fedora. If I can figure out how to keep my /etc/
| resolv.conf from being wiped out on reboot I think everything will be
| working correctly.
|
| I'm curious why OpenDNS works so much better for me than my ISPs
| nameservers and why there is this difference in behaviour between
| Debian and Fedora when both are setup right now as standard clients on
| the network.
|
| Thanks
| Ian
|
| On Mar 30, 11:28 pm, Bryan Smith <[email protected]> wrote:
| Another thought,
|
| Put your isp's DNS servers in the /etc/resolv.conf if the problem is
| solved then you know what's awry. Or use OpenDNS's servers.
|
| Bryan
|
| Ian wrote:
|
| | I just installed Debian 5 on an old computer in my basement to act as
| | a household server. I always disable ipv6 since my router can't handle
| | it, but I noticed that in Debian the module wasn't even loaded. I
| | disabled it anyway to be sure. I checked /etc/resolv.conf and it
| | points to my gateway. Both wget and elinks give this delay (even when
| | ipv6 is disabled in elinks) so I guess it must be something wrong with
| | my system wide configuration. Can anyone give me suggestions on what
| | to try next? Thanks.
| | |
|
| 
- --
A healthy diet includes Linux, Linux and more Linux.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknVRPIACgkQh+MLjl5SKYRVSwCfQgSI+115O179cZ9l/4OAx7Of
W1oAnjrB4y8d3tXInRZ9s83f+H9GW2qE
=iDmX
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
-~----------~----~----~----~------~----~------~--~---

Reply via email to