Networking Forums

Networking Forums > Computer Networking > Linux Networking > Why can't get name from DNS

Reply
Thread Tools Display Modes

Why can't get name from DNS

 
 
Yun Guan
Guest
Posts: n/a

 
      10-12-2003, 10:21 PM
Dear RedHat gurus,

I am new to Linux, so every step is pain for me. Hope can get some help from
experts here.

I setup a Redhat 9 box at home and try to hook up it to internet through my
ISP (Road Runner under Time Warner), using DHCP connection. I succeeded in
making it see internet. I can ping yahoo.com through its IP, but can't ping
the name itself. The Mozilla can not see any internet site. From Network
Configuration box, I can see the primary, secondary, and tertiary DNS (from
ISP) automatically setup and they are correct.

Why I can not ping yahoo.com on my Linux box? I have no such problems with
my other PCs hooked up to the same router. Is that possible my ISP's DNSs do
not support request from Linux box? I call them about this, they said they
do not support Linux and simply refuse to give any more details.

Appreciate any help.

--
Allen Guan
281-489-2314


 
Reply With Quote
 
 
 
 
joseph philip
Guest
Posts: n/a

 
      10-12-2003, 10:44 PM
On Sun, 12 Oct 2003 22:21:00 +0000, Yun Guan wrote:

> Dear RedHat gurus,
>
> I am new to Linux, so every step is pain for me. Hope can get some help from
> experts here.
>
> I setup a Redhat 9 box at home and try to hook up it to internet through my
> ISP (Road Runner under Time Warner), using DHCP connection. I succeeded in
> making it see internet. I can ping yahoo.com through its IP, but can't ping
> the name itself. The Mozilla can not see any internet site. From Network
> Configuration box, I can see the primary, secondary, and tertiary DNS (from
> ISP) automatically setup and they are correct.
>
> Why I can not ping yahoo.com on my Linux box? I have no such problems with
> my other PCs hooked up to the same router. Is that possible my ISP's DNSs do
> not support request from Linux box? I call them about this, they said they
> do not support Linux and simply refuse to give any more details.
>
> Appreciate any help.



/etc/resolv.conf

lists the dns servers like this


nameserver 142.77.1.1
nameserver 142.77.1.5



To edit file: login as root.
then edit using a text editor : gedit, Kwrite, Kate.


 
Reply With Quote
 
Ian Northeast
Guest
Posts: n/a

 
      10-12-2003, 10:51 PM
Yun Guan wrote:
>
> Dear RedHat gurus,
>
> I am new to Linux, so every step is pain for me. Hope can get some help from
> experts here.
>
> I setup a Redhat 9 box at home and try to hook up it to internet through my
> ISP (Road Runner under Time Warner), using DHCP connection. I succeeded in
> making it see internet. I can ping yahoo.com through its IP, but can't ping
> the name itself. The Mozilla can not see any internet site. From Network
> Configuration box, I can see the primary, secondary, and tertiary DNS (from
> ISP) automatically setup and they are correct.
>
> Why I can not ping yahoo.com on my Linux box? I have no such problems with
> my other PCs hooked up to the same router. Is that possible my ISP's DNSs do
> not support request from Linux box?


No. DNS is a general standard, it does not specify an OS. It is not
possible to determine what OS a machine which issued a DNS query is
running (not from the DNS query anyway).

Have a look at /etc/resolv.conf while you are connected and see if the
correct nameservers are listed there. If they are not, as a first step
try editing the file manually and inserting them and see if that helps.
If that does it, you need to work out why the DHCP client isn't updating
/etc/resolv.conf.

Also check /etc/nsswitch.conf and ensure that the "hosts:" line contains
"dns".

And make sure you aren't running a firewall which blocks UDP. Most
Internet traffic, including HTTP, is TCP but DNS is normally UDP.

Regards, Ian
 
Reply With Quote
 
Yun Guan
Guest
Posts: n/a

 
      10-13-2003, 01:41 AM
Yes, it is a firewall issue. Under "Security level High", and "Use default
firewall rules", it can not get DNS reply, even though the documentations
say it can. After I check Customize and check Allow incoming WWW/HTTP and
DHCP. I can see the DNS now.

Thanks a lot for the hint.

"Ian Northeast" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Yun Guan wrote:
> >
> > Dear RedHat gurus,
> >
> > I am new to Linux, so every step is pain for me. Hope can get some help

from
> > experts here.
> >
> > I setup a Redhat 9 box at home and try to hook up it to internet through

my
> > ISP (Road Runner under Time Warner), using DHCP connection. I succeeded

in
> > making it see internet. I can ping yahoo.com through its IP, but can't

ping
> > the name itself. The Mozilla can not see any internet site. From Network
> > Configuration box, I can see the primary, secondary, and tertiary DNS

(from
> > ISP) automatically setup and they are correct.
> >
> > Why I can not ping yahoo.com on my Linux box? I have no such problems

with
> > my other PCs hooked up to the same router. Is that possible my ISP's

DNSs do
> > not support request from Linux box?

>
> No. DNS is a general standard, it does not specify an OS. It is not
> possible to determine what OS a machine which issued a DNS query is
> running (not from the DNS query anyway).
>
> Have a look at /etc/resolv.conf while you are connected and see if the
> correct nameservers are listed there. If they are not, as a first step
> try editing the file manually and inserting them and see if that helps.
> If that does it, you need to work out why the DHCP client isn't updating
> /etc/resolv.conf.
>
> Also check /etc/nsswitch.conf and ensure that the "hosts:" line contains
> "dns".
>
> And make sure you aren't running a firewall which blocks UDP. Most
> Internet traffic, including HTTP, is TCP but DNS is normally UDP.
>
> Regards, Ian



 
Reply With Quote
 
Freeride
Guest
Posts: n/a

 
      10-13-2003, 04:03 AM
On Mon, 13 Oct 2003 01:41:57 +0000, Yun Guan wrote:

> Yes, it is a firewall issue. Under "Security level High", and "Use default
> firewall rules", it can not get DNS reply, even though the documentations
> say it can. After I check Customize and check Allow incoming WWW/HTTP and
> DHCP. I can see the DNS now.
>
> Thanks a lot for the hint.



You can also just install DNS and the DNS cache rpms and setup your own
caching DNS server. Works much better than hitting those over loaded
crappy ISP DNS servers.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




1 2 3 4 5 6 7 8 9 10 11