LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ping IP's but not domain names (https://www.linuxquestions.org/questions/linux-networking-3/ping-ips-but-not-domain-names-70980/)

matrx88 07-08-2003 11:04 AM

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!!

sergkh 07-08-2003 01:10 PM

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

matrx88 07-08-2003 02:11 PM

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!

hakcenter 07-08-2003 02:14 PM

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.

matrx88 07-08-2003 02:19 PM

Ping with IP's works fine but not with domain names.

hakcenter 07-08-2003 02:20 PM

are you absolutely positive your connection is set to use your locally installed dns server?

matrx88 07-08-2003 02:22 PM

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??

hakcenter 07-08-2003 02:24 PM

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.

matrx88 07-08-2003 02:28 PM

I'm on a DSL line with a nexland router.

Do you know the package name for the DNS..is it Bind?....

hakcenter 07-08-2003 02:29 PM

its either bind, or named

matrx88 07-08-2003 02:31 PM

Ok I will play around with that for a while....thanks for your help!!

hakcenter 07-08-2003 02:33 PM

no prob, any more questions,

if you actually get online

aim:hakcenter


All times are GMT -5. The time now is 11:58 AM.