[lug] Problem with resolving

Lee Woodworth blug-mail at duboulder.com
Fri Dec 2 09:33:00 MST 2005

Stephen Queen wrote:
> I just changed ISP's. I now have an Actiontec DSL modem connected to
> my Linux gateway machine. The Linux gateway machine acts as my
> router/firewall. On the inside network I have 3 more linux machines.
> Two of them are running Slackware and the other is running Debian. The
> two Slackware machines seem to be working just fine. I can access the
> web just like with my old ISP. The Debian machine seems to not resolve
> outside addresses correctly.
> One of the first things I tried was to boot the machine with knoppix
> and configure the network with the same parameters and it worked.
Including the same /etc/resolv.conf, /etc/hosts and firewall rules?
Is your gateway box running a caching dns server that
does recursive lookups for your local clients?
> Booting back to Debian I then tried ssh'ing to a remote account. It
> resolved the name  correctly and allowed me to log on.
> I then tried a traceroute, and got the normal results.
> 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.
Is this on the gateway machine?

> I then tried to wget to a web site. It came back saying the URL
> resolved to
> 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
> I did an arp, and it looks like my IP's do map to the correct mac addresses.
> Any suggestions?
Probably an issue with /etc/resolv.conf on the gateway, and
maybe on the clients.

> Thanks,
> Stephen Queen
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us portf67 channel=#colug

More information about the LUG mailing list