LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-08-2003, 11:04 AM   #1
matrx88
LQ Newbie
 
Registered: Jul 2003
Posts: 7

Rep: Reputation: 0
ping IP's but not domain names


Hi all, I've been reading the posts all morning, found a few things that I tried but still not successfull.

Here is my problem, I want to browse the internet with mozilla in redhat 9. I can't connect to websites with domain names but I can with IP's. I can ping IP's no problem but again not with domain names.

resolve.conf contains this:

nameserver 206.191.0.140
nameserver 206.191.0.210
search magma.ca

here is the result when I do
nslookup redhat.com:

Server: 206.191.0.140
Address: 206.191.0.140#53

Non-authoritative answer:
Name: redhat.com
Address: 66.187.232.56


DNS seems to be working fine, but I can't figure out what the problem is.

BTW I diabled the firewall on this redhat 9 box.

Can anyone help me? Thanks in advance!!
 
Old 07-08-2003, 01:10 PM   #2
sergkh
LQ Newbie
 
Registered: Jul 2003
Location: Ukraine
Distribution: Mandrake Debian
Posts: 15

Rep: Reputation: 0
are you using proxy ?

if you using proxy I think that you have a problem with DNS (proxy machine)
use other browser Lynx , etc for testing .
check plz your proxy server
i ping you name server but
3 195.5.29.33 (195.5.29.33) 45.730 ms 38.512 ms 39.203 ms
4 lv1.lv.ukrtel.net (195.5.29.1) 38.893 ms 255.544 ms 39.130 ms
5 195.5.53.149 (195.5.53.149) 58.909 ms 51.926 ms 52.638 ms
6 195.5.53.54 (195.5.53.54) 52.289 ms 65.234 ms 178.446 ms
7 msk-3v-ar1-atm6-0-1.rascom.ru (80.64.97.133) 78.710 ms 176.172 ms 79.148 ms
8 msk-3v-cr1-stm4-1-0.rascom.ru (80.64.96.2) 98.517 ms 84.722 ms 92.326 ms
9 500.POS4-3.IG2.NYC4.NYC2.ALTER.NET (157.130.251.121) 198.141 ms 249.707 ms 198.466 ms
10 589.at-6-0-0.XR4.NYC4.ALTER.NET (152.63.18.66) 197.879 ms 290.333 ms 569.405 ms
11 0.so-2-0-0.XL2.NYC4.ALTER.NET (152.63.18.29) 197.887 ms 336.408 ms 198.228 ms
12 0.so-4-0-0.TL2.NYC9.ALTER.NET (152.63.23.129) 198.151 ms 217.292 ms 198.249 ms
13 0.so-7-0-0.TL2.TOR2.ALTER.NET (152.63.2.101) 251.702 ms 303.521 ms 218.223 ms
14 POS1-0.XR2.TOR2.ALTER.NET (152.63.2.78) 277.383 ms 244.016 ms 323.550 ms
15 194.ATM7-0.GW1.OTT1.ALTER.NET (152.63.130.53) 217.933 ms 217.523 ms 218.070 ms
16 magma4-gw.customer.alter.net (157.130.159.214) 224.480 ms 223.866 ms 218.200 ms
17 gateway2-vlan96.magma.ca (209.217.64.57) 231.107 ms 230.954 ms 231.836 ms
18 206.191.0.99 (206.191.0.99) 225.165 ms 217.994 ms 225.159 ms
19 * * *
20 * * *
21 * * *
I think you have problem with your proxy .
PS. use dig ( no nslookup)
Sorry for my bad english
 
Old 07-08-2003, 02:11 PM   #3
matrx88
LQ Newbie
 
Registered: Jul 2003
Posts: 7

Original Poster
Rep: Reputation: 0
How do I know if I have a proxy

Here is the result from the dig command instead of nslookup.

; <<>> DiG 9.2.1 <<>> www.redhat.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 17035
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 2

;; QUESTION SECTION:
;www.redhat.com. IN A

;; ANSWER SECTION:
www.redhat.com. 300 IN A 66.187.232.56

;; AUTHORITY SECTION:
redhat.com. 600 IN NS ns3.redhat.com.
redhat.com. 600 IN NS ns1.redhat.com.
redhat.com. 600 IN NS ns2.redhat.com.

;; ADDITIONAL SECTION:
ns2.redhat.com. 600 IN A 66.187.224.210
ns3.redhat.com. 600 IN A 66.187.229.10

;; Query time: 75 msec
;; SERVER: 192.168.1.254#53(206.191.0.140)
;; WHEN: Tue Jul 8 15:10:58 2003
;; MSG SIZE rcvd: 134

Any ideas?....Thanks again!
 
Old 07-08-2003, 02:14 PM   #4
hakcenter
Member
 
Registered: Apr 2003
Location: Not to far from the computer screen
Distribution: RedHat 9.0
Posts: 324

Rep: Reputation: 30
is your system surely configured to use the dns server? If pings aren't resolving I can (safely) assume the eth device is not set to use the dns, or a lack there of with the server being turned on.
 
Old 07-08-2003, 02:19 PM   #5
matrx88
LQ Newbie
 
Registered: Jul 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Ping with IP's works fine but not with domain names.
 
Old 07-08-2003, 02:20 PM   #6
hakcenter
Member
 
Registered: Apr 2003
Location: Not to far from the computer screen
Distribution: RedHat 9.0
Posts: 324

Rep: Reputation: 30
are you absolutely positive your connection is set to use your locally installed dns server?
 
Old 07-08-2003, 02:22 PM   #7
matrx88
LQ Newbie
 
Registered: Jul 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for your help by the way.

I don't have an internal DNS server. I use the DNS servers of my ISP. Should I??
 
Old 07-08-2003, 02:24 PM   #8
hakcenter
Member
 
Registered: Apr 2003
Location: Not to far from the computer screen
Distribution: RedHat 9.0
Posts: 324

Rep: Reputation: 30
I would use the local DNS (its usually faster, not too sure on dialup though)

But its definatly worth the try...

default rpm installs a basic root for the dns, just gotta install rpm, and start the service, then set your connection to use 127.0.0.1 for dns.
 
Old 07-08-2003, 02:28 PM   #9
matrx88
LQ Newbie
 
Registered: Jul 2003
Posts: 7

Original Poster
Rep: Reputation: 0
I'm on a DSL line with a nexland router.

Do you know the package name for the DNS..is it Bind?....
 
Old 07-08-2003, 02:29 PM   #10
hakcenter
Member
 
Registered: Apr 2003
Location: Not to far from the computer screen
Distribution: RedHat 9.0
Posts: 324

Rep: Reputation: 30
its either bind, or named
 
Old 07-08-2003, 02:31 PM   #11
matrx88
LQ Newbie
 
Registered: Jul 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Ok I will play around with that for a while....thanks for your help!!
 
Old 07-08-2003, 02:33 PM   #12
hakcenter
Member
 
Registered: Apr 2003
Location: Not to far from the computer screen
Distribution: RedHat 9.0
Posts: 324

Rep: Reputation: 30
no prob, any more questions,

if you actually get online

aim:hakcenter
 
  


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
Trying to get computer names instead of IP's megaspaz Linux - Networking 1 01-12-2006 04:42 PM
static names with dynamic ip's linux_console Linux - Networking 2 01-12-2006 04:32 PM
Can't ping my internal IP's jaanus Linux - Networking 14 08-25-2005 07:15 PM
Can ping IP's, but not names. Why??? JeffreyKunkle Linux - Newbie 3 08-30-2004 11:22 AM
Can't ping IP's ohter than localhost joecs Linux - Newbie 1 01-07-2002 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:04 PM.

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