[lug] Problem with resolving
D. Stimits
stimits at comcast.net
Sat Dec 3 14:37:33 MST 2005
David L. Anselmi wrote:
> Stephen Queen wrote:
> [...]
>
>> I can also do a dig to a host name and get the correct results. But if
>> I enter the URL for a web site on a browser it still doesn't resolve
>> correctly.
>>
>> I then tried to wget to a web site. It came back saying the URL
>> resolved to 1.0.0.0.
>> I did a dig on the same website, got the correct IP Address and tried
>> again with wget using the IP address. It downloaded the index.html of
>> that website.
>>
>> I then did a strace on wget using the URL. I could see that it does in
>> fact access the nameserver but returns with the IP of 1.0.0.0.
Just curious, if you do this from both machines, do they give the same
output?
telnet <websiteaddress> 80
GET / "HTTP / 1.0"
You could log the telnet via "telnet <address> 80 | tee -logfile.txt".
I'm just wondering if the web response will change based on where you
access it from. If it is the same, you can ignore machine differences
and concentrate on browser differences.
D. Stimits, stimits AT comcast DOT net
More information about the LUG
mailing list