Has anyone seen this? I recently discovered that I had an incorrect (but
optional)domain name configured in my D-LINK DI-604 router. This caused
dhcpcd to place the bad domain name into the "search" entry in
resolv.conf, and I believe that this is causing a major slowdown in
resolving hostnames for me.
SO, since I didn't want a search entry in resolv.conf at all, I deleted
the "optional" local domain name in the D-LINK configuration webpage, and
restarted the router. I then did an ifdown eth0/ifup eth0, and checked
resolv.conf This is what I now see:
### BEGIN INFO
# Modified_by: dhcpcd
# Backup: /etc/resolv.conf.saved.by.dhcpcd [SNIP more comments
genereated by dhcpcd] ### END INFO
search |ê@|ê@
nameserver 192.168.0.1
This is even worse :-( So HOW do I get dhcpcd to stop making a "search"
entry in resolv.conf?? I don't want to resort to telling dhcpcd to not
build a resolv.conf at all if possible (if I ever decide to change the
router's base IP address, I don't want to have to remember that I have to
manually fix resolv.conf to point to the new nameserver location on the
router). Is this a bug in dhcpcd? or possibly a flaw in the D-LINK
firmware for the router that is returning a bad string to Linux?
FYI, I am running SuSE 9.0, running Linux 2.4.21-199-default, and dhcpcd
reports a version of v.1.3.22-p14 (the default that came with SuSE 9.0).
The D-LINK DI-604 router reports a firmware version of 3.20, dated July 1,
2003.
Thanks for any help or pointers!
|