[CentOS] resolve problem

Thu Jul 20 04:37:34 UTC 2006
CentOS List <centoslist at gmail.com>

>> I had install a CentOS 4.3. In etc/resolve.conf,  the nameserver i use is 
>> the static IP which i was issue by the datacentre. I cant resolve any 
>> domain. But if i use a public DNS IP, i am able to resolve. What is wrong 
>> with my IP?
>
> What's the output of:
>
> dig google.com @the.ip.you.were.given
>
> where @the.ip.you.were.given is literally something like @1.2.3.4

; <<>> DiG 9.2.4 <<>> google.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36222
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 13

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

;; AUTHORITY SECTION:
.                       192607  IN      NS      K.ROOT-SERVERS.NET.
.                       192607  IN      NS      L.ROOT-SERVERS.NET.
.                       192607  IN      NS      M.ROOT-SERVERS.NET.
.                       192607  IN      NS      A.ROOT-SERVERS.NET.
.                       192607  IN      NS      B.ROOT-SERVERS.NET.
.                       192607  IN      NS      C.ROOT-SERVERS.NET.
.                       192607  IN      NS      D.ROOT-SERVERS.NET.
.                       192607  IN      NS      E.ROOT-SERVERS.NET.
.                       192607  IN      NS      F.ROOT-SERVERS.NET.
.                       192607  IN      NS      G.ROOT-SERVERS.NET.
.                       192607  IN      NS      H.ROOT-SERVERS.NET.
.                       192607  IN      NS      I.ROOT-SERVERS.NET.
.                       192607  IN      NS      J.ROOT-SERVERS.NET.

;; ADDITIONAL SECTION:
A.ROOT-SERVERS.NET.     463865  IN      A       198.41.0.4
B.ROOT-SERVERS.NET.     463865  IN      A       192.228.79.201
C.ROOT-SERVERS.NET.     463865  IN      A       192.33.4.12
D.ROOT-SERVERS.NET.     463865  IN      A       128.8.10.90
E.ROOT-SERVERS.NET.     463865  IN      A       192.203.230.10
F.ROOT-SERVERS.NET.     463865  IN      A       192.5.5.241
G.ROOT-SERVERS.NET.     463865  IN      A       192.112.36.4
H.ROOT-SERVERS.NET.     463865  IN      A       128.63.2.53
I.ROOT-SERVERS.NET.     463865  IN      A       192.36.148.17
J.ROOT-SERVERS.NET.     463865  IN      A       192.58.128.30
K.ROOT-SERVERS.NET.     463865  IN      A       193.0.14.129
L.ROOT-SERVERS.NET.     463865  IN      A       198.32.64.12
M.ROOT-SERVERS.NET.     463865  IN      A       202.12.27.33

;; Query time: 0 msec
;; SERVER: 203.81.50.93#53(203.81.50.93)
;; WHEN: Thu Jul 20 12:34:56 2006
;; MSG SIZE  rcvd: 447


regards