LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-19-2003, 11:34 PM   #1
aldo
LQ Newbie
 
Registered: Mar 2003
Location: Oregon
Posts: 3

Rep: Reputation: 0
Unhappy DNS resolution Redhat 8.0


I am new to using Linux from home with dialup access, I have used it successfully on an office network. However I am trying to convert from Windows 2000 to Linux and have setup my machine with dual booting. I have configured the modem for dialup and can connect to my ISP. However I cannot ping URLs I can only ping the IP-address. I have added the DNS entries and have tried setting the dynamic DNS setting on and off, however I cannot seem to get this to work.

Am I looking in the wrong place and setting the wrong thing? My /etc/hosts and /etc/resolv.conf look fine. Is there a background process I should verify is running? I really want to move off of Windows but cannot until I resolve this.

I appreciate any help you can provide.

Aldo
 
Old 03-20-2003, 04:31 AM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
probably a routing problem. can u ping your ISP's DNS servers?

Once connected, run this:

route -n

and verify that ur default gateway is the IP address from your ISP.
 
Old 03-20-2003, 06:40 AM   #3
aldo
LQ Newbie
 
Registered: Mar 2003
Location: Oregon
Posts: 3

Original Poster
Rep: Reputation: 0
I can ping the DNS address provided by my ISP no problem, the address is 204.119.56.2 (they gave me two, but I only pinged the one).

I have tried this with the flag for 'Automatically obtain DNS information from provider on' checked and unchecked with the same result.

The route -n returns the same result as well, the output follows:

Destination Gateway Genmask Flags Metric Ref Use Iface
216.239.168.224 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 216.239.169.224 0.0.0.0 UG 0 0 0 ppp0

Sorry the spacing is a little off on this email. Strange the address 216.239.168.224 is not what I expected to see.

Still confused on this end?

aldo
 
Old 03-20-2003, 06:57 AM   #4
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 464

Rep: Reputation: 52
Try something like this: "nslookup www.linuxquestions.org 204.119.56.2"

For me, this returns:

Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server: 204.119.56.2
Address: 204.119.56.2#53

Name: www.linuxquestions.org
Address: 64.179.4.146


and/or this: "nslookup 64.179.4.146 204.119.56.2"

For which I get returned:

Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server: 204.119.56.2
Address: 204.119.56.2#53

146.4.179.64.in-addr.arpa name = linuxquestions.org.


Therefore, I know your nameserver works. Does it give you the same information?

(Aside: Hey, I grew up with nslookup, so it works for me. Does that mean I am to be depreciated?)
 
Old 03-20-2003, 07:52 AM   #5
aldo
LQ Newbie
 
Registered: Mar 2003
Location: Oregon
Posts: 3

Original Poster
Rep: Reputation: 0
When I execute the nslookup I get the following:

Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.

;; connection timed out; no servers could be reached

Looks as though the nameserver is not working. I tried this with each to the addresses as you suggested.

So whats next?

(If you can figure this out your are certainly not deprecated in my book! [Had to look it up in the dictionary to know what it meant ;-)] )
 
Old 10-07-2003, 11:45 PM   #6
joeswaminathan
LQ Newbie
 
Registered: Oct 2003
Location: California, US
Posts: 5

Rep: Reputation: 0
DNS Resolution not working

Quote:
Originally posted by aldo
When I execute the nslookup I get the following:

Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.

;; connection timed out; no servers could be reached

Looks as though the nameserver is not working. I tried this with each to the addresses as you suggested.

So whats next?

(If you can figure this out your are certainly not deprecated in my book! [Had to look it up in the dictionary to know what it meant ;-)] )

Iam also facing the same problem. I didn;t see any replies to this.

If I execute host -T yahoo.com, it resolves the IP address though.

$ host -T yahoo.com
yahoo.com has address 66.218.71.198
 
Old 01-22-2004, 08:20 PM   #7
msweetnam
LQ Newbie
 
Registered: Jan 2004
Location: Chicago
Distribution: Mandrake 9.1
Posts: 4

Rep: Reputation: 0
I have seen someone post something (somewhere else on this site) that said they had the same problem (dig <doesn't work> and dig -T <works>) and it was solved with a security change - search this forum for
"no servers could be reached" or "dig -T"

- MattFatt
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS resolution guitarman85281 Linux - Networking 4 10-12-2004 08:52 PM
DNS resolution on Mdk 10 Rnd227 Mandriva 0 03-28-2004 03:18 AM
DNS resolution maxb Linux - Networking 2 07-17-2003 03:40 AM
Can't get DNS Resolution! Gladiator Linux - Networking 7 04-10-2002 09:30 AM
Netscape vs DNS Resolution art_oliver Linux - Networking 2 05-25-2001 06:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration