View previous topic :: View next topic |
Author |
Message |
Esquilax n00b
Joined: 30 Sep 2004 Posts: 4
|
Posted: Thu Sep 30, 2004 9:39 pm Post subject: Crazy DNS problem |
|
|
I have my gentoo box connected to my DSL router that provides DNS. If I do an nslookup or ping a site or even use links to view a site everything works fine. I can even do an emerge sync without a problem. The problem happens when I try to emerge a package. For some reason whatever site it tries to download the package from resolves as 1.0.0.0
I've temporarily fixed this by putting some of the mirrors in my hosts file, but I'm puzzled as to why this only happens when I emerge a package.
Any thoughts? |
|
Back to top |
|
|
nobspangle Veteran
Joined: 23 Mar 2004 Posts: 1318 Location: Manchester, UK
|
Posted: Thu Sep 30, 2004 9:57 pm Post subject: |
|
|
emerge uses wget to download the packages have you tried using wget to download something to make sure that is the problem.
Check your FETCHCOMMAND isn't set to something strange, or set it to use one of the other downloaders. |
|
Back to top |
|
|
Esquilax n00b
Joined: 30 Sep 2004 Posts: 4
|
Posted: Fri Oct 01, 2004 2:24 am Post subject: |
|
|
FETCHCOMMAND looks fine. wget works fine on its own. It seems that emerge resolves the ip on its own and then hands it off to wget, which tries to use 1.0.0.0
I see:
Resolving some.site... 1.0.0.0
Connect to some.site[1.0.0.0]:80...
This seems to be a DNS server problem I guess, because when I switched to a different one, the problem went away, but I still wonder why it happens.
Is it possible emerge is trying to some weird dns query that the server doesn't understand? |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4975 Location: Gothenburg, Sweden
|
|
Back to top |
|
|
|