Strange DNS problem... (nslookup works remotly, fails locally)

Laeelin

Member
Jan 17, 2004
7
0
151
To proect the innocent, I'll be using the names below:
Nameserver: ns1.site.com
Our Web server: server.site.com
Our Web Site: somesite.com (we have many sites, all have the same problem)
All IP addresses: XXX.XXX.XXX.??? (replacing ??? with the correct information)

Now right into the wierd part...

From my work computer:

[/]# nslookup somesite.com ns1.site.com
Server: ns1.site.com
Address: XXX.XXX.XXX.194#53

Name: somesite.com
Address: XXX.XXX.XXX.202
exact same command from our web server...
From the web server (using ssh)

[/]# nslookup somesite.com ns1.site.com
Server: ns1.site.com
Address: XXX.XXX.XXX.194#53

** server can't find somesite.com: SERVFAIL
However other sites (like google) work.
From the web server (using ssh)

[/]# nslookup google.com ns1.site.com
Server: ns1.site.com
Address: XXX.XXX.XXX.194#53

Non-authoritative answer:
Name: google.com
Address: 64.233.167.99
Name: google.com
Address: 64.233.187.99
Name: google.com
Address: 72.14.207.99

We have a new server with running RedHat, WHM and cpanel.

WHM 11.11.0 cPanel 11.16.0-S18450
REDHAT Enterprise 5.1 i686 on standard - WHM X v3.1.0

When I dig, I get this:


[/]# dig @ns1.site.com somesite.com

; <<>> DiG 9.2.4 <<>> @ns1.site.com somesite.com
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 788
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

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

;; ANSWER SECTION:
somesite.com. 14400 IN A XXX.XXX.XXX.202

;; AUTHORITY SECTION:
somesite.com. 86400 IN NS ns2.site.com.
somesite.com. 86400 IN NS ns1.site.com.

;; ADDITIONAL SECTION:
ns1.site.com. 14400 IN A XXX.XXX.XXX.194
ns2.site.com. 14400 IN A XXX.XXX.XXX.194

;; Query time: 10 msec
;; SERVER: XXX.XXX.XXX.194#53(XXX.XXX.XXX.194)
;; WHEN: Sun Jan 13 16:36:34 2008
;; MSG SIZE rcvd: 125
From the web server...

[/]# dig @ns1.site.com somesite.com

; <<>> DiG 9.3.3rc2 <<>> @ns1.site.com somesite.com
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 31172
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

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

;; Query time: 14 msec
;; SERVER: XXX.XXX.XXX.194#53(XXX.XXX.XXX.194)
;; WHEN: Sun Jan 13 15:40:12 2008
;; MSG SIZE rcvd: 33
If you want any other information, please ask and I'll post tomorrow,
 

Laeelin

Member
Jan 17, 2004
7
0
151
I did a dump, and here are the results from one of the domains that isnt working locally (yet does work remotly)

;
; Zone dump of 'buydesksets.com/IN/internal'
;
buydesksets.com. 14400 IN SOA ns1.jmajllc.com. adminreport.jmajllc.com. 2008011300 14400 7200 3600000 86400
buydesksets.com. 86400 IN NS ns1.jmajllc.com.
buydesksets.com. 86400 IN NS ns2.jmajllc.com.
buydesksets.com. 14400 IN A 207.218.242.202
buydesksets.com. 14400 IN MX 0 buydesksets.com.
ftp.buydesksets.com. 14400 IN A 207.218.242.202
localhost.buydesksets.com. 14400 IN A 127.0.0.1
mail.buydesksets.com. 14400 IN CNAME buydesksets.com.
www.buydesksets.com. 14400 IN CNAME buydesksets.com.



;
; Zone dump of 'buydesksets.com/IN/external'
;
buydesksets.com. 14400 IN SOA ns1.jmajllc.com. adminreport.jmajllc.com. 2008011300 14400 7200 3600000 86400
buydesksets.com. 86400 IN NS ns1.jmajllc.com.
buydesksets.com. 86400 IN NS ns2.jmajllc.com.
buydesksets.com. 14400 IN A 207.218.242.202
buydesksets.com. 14400 IN MX 0 buydesksets.com.
ftp.buydesksets.com. 14400 IN A 207.218.242.202
localhost.buydesksets.com. 14400 IN A 127.0.0.1
mail.buydesksets.com. 14400 IN CNAME buydesksets.com.
www.buydesksets.com. 14400 IN CNAME buydesksets.com.
Anyone know where to start my troubleshooting?