This one does not work (the page exist) jupiter ~ # wget http://pciids.sourceforge.net --18:53:00-- http://pciids.sourceforge.net/ => `index.html' Resolving pciids.sourceforge.net... failed: Name or service not known. This one however does work jupiter ~ # wget http://www.gentoo.org --18:52:34-- http://www.gentoo.org/ => `index.html' Resolving www.gentoo.org... 66.45.74.45, 199.246.73.203, 65.19.163.231 Connecting to www.gentoo.org[66.45.74.45]:80... connected. HTTP request sent, awaiting response... 200 OK Length: 16,233 [text/html] 100%[====================================>] 16,233 38.87K/s 18:52:34 (38.77 KB/s) - `index.html' saved [16233/16233] I have the same problem with rsync. here is my /etc/resolv.conf: jupiter ~ # cat /etc/resolv.conf nameserver 192.168.3.1 search gurlinet.dk domain gurlinet.dk Reproducible: Always Steps to Reproduce: 1. wget http://pciids.sourceforge.net Actual Results: This fails for some reason, but works on another of my computers. Expected Results: It should be working.
Does the problem still persist? Could be sourceforge nameserver temporary being down, or that your router has problems with either udp or tcp dns name-queries.
your network is broken, either way not an issue with Gentoo $ dig +short pciids.sourceforge.net projects.sourceforge.net. 66.35.250.209
Got a little news on this one. If I remove search and domain from /etc/resolv.conf , it works fine, but now I cannot use the short names locally. Any ideas of why this happends? (It apparently only happends on the machine that acts like DNS server for the rest of the network)
your description is awfully vague, you need to provide more info about the machine and network setups
I have set the dnsdomainname to gurlinet.dk in /etc/conf.d/domainname in /etc/resolv.conf I'd like to be able to set search and domain to gurlinet.dk , so I on the machine can ping and connect to the local machines just by using their name and not the entire dns name (their full internal dns is name.gurlinet.dk (etc. mercury.gurlinet.dk)). if I set eighter "search gurlinet.dk" or "domain gurlinet.dk" in /etc/resolv, it stops working, and acts like I descriped earlier. The machine is hosting the domain, and resolv.conf is configured to use 127.0.0.1 as nameserver.
search and domain are mutually exclusive, read `man resolv.conf`
Using one of them only doesn't help, it still does not work when set.
so load up ethereal and packet sniff the dns traffic