Re: Internet connection on Linux
- From: Jack Snodgrass <jacks_temp_id_blue62@xxxxxxxxxxx>
- Date: Sat, 26 Apr 2008 16:48:52 GMT
On Sat, 26 Apr 2008 08:37:27 -0700, CCW wrote:
Thanks for the replies.
My /etc/resolv.conf is:
; generated by /sbin/dhclient-script
nameserver 208.67.222.222
nameserver 208.67.220.220
They are the IP addresses of Open DNS (http://www.opendns.com/).
Running
%> host www.yahoo.com 208.67.222.222
gives:
Using domain server:
Name: 208.67.222.222
Address: 208.67.222.222#53
Aliases:
www.yahoo.com is an alias for www.yahoo-ht3.akadns.net
www.yahoo-ht3.akadns.net has address 87.248.113.14
I get a similar response from 208.67.220.220
Does this provide any more info?
Thanks,
Chris
.... that all looks right... you said in the original message:
"I can access websites / ping by ip address but not by name."
.... and it's not a /etc/resolv.conf issue.. then it's a strange one...
What happens when you do:
host www.yahoo.com
and not specify a name server.... in theory... it should pick one from
your /etc/resolv.conf file if it's reading it.
maybe your config is really screwed up and your not looking at your
/etc/resolv.conf file... do this:
cat /etc/nsswitch.conf | grep hosts | grep -v "#"
and see what you get. I get:
cat /etc/nsswitch.conf | grep hosts | grep -v "#"
hosts: files dns
which says to look in the /etc/hosts file and then do a dns lookup
if it's not found... what does your config show for that?
jack
--
D.A.M. - Mothers Against Dyslexia
see http://www.jacksnodgrass.com for my contact info.
jack - Grapevine/Richardson
.
- Follow-Ups:
- Re: Internet connection on Linux
- From: CCW
- Re: Internet connection on Linux
- References:
- Internet connection on Linux
- From: CCW
- Re: Internet connection on Linux
- From: Shadow_7
- Re: Internet connection on Linux
- From: CCW
- Internet connection on Linux
- Prev by Date: Re: Setting up a bridge disables IP networking?
- Next by Date: Re: Setting up a bridge disables IP networking?
- Previous by thread: Re: Internet connection on Linux
- Next by thread: Re: Internet connection on Linux
- Index(es):
Relevant Pages
|