LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   i can not get ip of google.com. (https://www.linuxquestions.org/questions/linux-newbie-8/i-can-not-get-ip-of-google-com-341255/)

bruse 07-08-2005 08:44 AM

i can not get ip of google.com.
 
mandrake 10.0
i can not get ip of googel.com

[staff@Simlab-node3 staff]$ dig google.com

; <<>> DiG 9.2.3 <<>> google.com
;; global options: printcmd
;; connection timed out; no servers could be reached
[staff@Simlab-node3 staff]$


[staff@Simlab-node3 staff]$ cat /etc/resolv.conf
search Internetserver.mitit.edu
nameserver 10.255.240.3
nameserver 10.1.1.63
nameserver 10.1.1.64
nameserver 10.1.1.50
[staff@Simlab-node3 staff]$



so pls help me

jtshaw 07-08-2005 08:48 AM

Code:

j_shaw@jshaw ~ $ dig google.com

; <<>> DiG 9.3.1 <<>> google.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52725
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 4, ADDITIONAL: 4

;; QUESTION SECTION:
;google.com.                    IN      A

;; ANSWER SECTION:
google.com.            15      IN      A      216.239.37.99
google.com.            15      IN      A      216.239.39.99
google.com.            15      IN      A      216.239.57.99

;; AUTHORITY SECTION:
google.com.            288353  IN      NS      ns1.google.com.
google.com.            288353  IN      NS      ns2.google.com.
google.com.            288353  IN      NS      ns3.google.com.
google.com.            288353  IN      NS      ns4.google.com.

;; ADDITIONAL SECTION:
ns1.google.com.        194114  IN      A      216.239.32.10
ns2.google.com.        194114  IN      A      216.239.34.10
ns3.google.com.        194114  IN      A      216.239.36.10
ns4.google.com.        194632  IN      A      216.239.38.10

;; Query time: 5 msec
;; SERVER: 172.30.3.100#53(172.30.3.100)
;; WHEN: Fri Jul  8 09:48:07 2005
;; MSG SIZE  rcvd: 212


bruse 07-08-2005 08:52 AM

but i can not get that what is the reasen?
what about the error?
why does it come?
how to resolve for me?

overlord73 07-08-2005 08:52 AM

perhaps add
nameserver 127.0.0.1
to your /etc/resolv.conf and start bind!

bruse 07-08-2005 08:56 AM

now


search Internetserver.mitit.edu
nameserver 10.255.240.3
nameserver 10.1.1.63
nameserver 10.1.1.64
nameserver 10.1.1.50
nameserver 127.0.0.1

now i changed again the error

[root@Simlab-node3 staff]# dig google.com

; <<>> DiG 9.2.3 <<>> google.com
;; global options: printcmd
;; connection timed out; no servers could be reached
[root@Simlab-node3 staff]#

kulmis 07-08-2005 09:00 AM

Have you checked if your firewall blocks nameserver requests?

Michael Johnson 07-08-2005 09:06 AM

try this
#dig www.google.com
note the www at the start.

overlord73 07-08-2005 09:12 AM

the resolution for domain (google.com) instead of host (www.google.com) should also work!

bruse 07-08-2005 09:12 AM

[root@Simlab-node3 staff]# /etc/init.d/iptables stop
Resetting built-in chains to the default ACCEPT policy: [ OK ]
[root@Simlab-node3 staff]#


staff@Simlab-node3 staff]$ dig www.google.com

; <<>> DiG 9.2.3 <<>> www.google.com
;; global options: printcmd
;; connection timed out; no servers could be reached
[staff@Simlab-node3 staff]$ dig www.google.com
;; Got SERVFAIL reply from 127.0.0.1, trying next server

; <<>> DiG 9.2.3 <<>> www.google.com
;; global options: printcmd
;; connection timed out; no servers could be reached


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