DNS issues with some domains

ms_

Verified User
Joined
Nov 13, 2005
Messages
5
Hello,
I have switched to a new server and installed DA.
After this i have started migrations accounts when i realised that some domains work and others don't,

Example, (Not working)
dig @localhost domain1.com

; <<>> DiG 9.7.0-P1 <<>> @localhost domain1.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 44895
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

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

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri May 3 19:32:43 2013
;; MSG SIZE rcvd: 29

Example, (Working)
dig @localhost domain2.com

; <<>> DiG 9.7.0-P1 <<>> @localhost domain2.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39591
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;; QUESTION SECTION:
;domain2.com IN A

;; ANSWER SECTION:
domain2.com. 14400 IN A 1.1.1.1

;; AUTHORITY SECTION:
domain2.com. 14400 IN NS nsb.host.com.
domain2.com. 14400 IN NS nsa.host.com.

;; ADDITIONAL SECTION:
nsa.host.com. 14400 IN A 1.1.1.1
nsb.host.com. 14400 IN A 2.2.2.2

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri May 3 19:36:02 2013
;; MSG SIZE rcvd: 127

Any ideias of what could be causing this behavior?

Thanks
 
I don't know why this happen to you. But my gut feeling is that it could help to restart named. I have seen something like this years ago on a Debian server, and then the problem was fixed after restarting named.
 
servfail means that there is a problem with the dns server.

Check /var/log/messages after restarting named for any errors.
 
Back
Top