HostOnNet Blog

Wired DNS Problem

Looking for Linux Server Admin or WordPress Expert? We can help.

One of the site hosted on my server stoped working with “www”
I have checked it with nslookup within the server. It fails for “www”

[root@server10 named]# nslookup
> server localhost
Default server: localhost
Address: 127.0.0.1#53
> www.infodon.com
Server: localhost
Address: 127.0.0.1#53

** server can’t find www.infodon.com: SERVFAIL
>

I have checked the DNS entry at /var/named/infodon.com.db and found it proper.

# cat /var/named/infodon.com.db
; Modified by Web Host Manager
; Zone File for infodon.com
$TTL 14400
@ 14440 IN SOA dns10.hosthat.com. flashweb.asianetonline.net. (
2005092014
14400
7200
3600000
86400
)

infodon.com. 14400 IN NS dns10.hosthat.com.
infodon.com. 14400 IN NS dns11.hosthat.com.

infodon.com. 14400 IN A 65.98.61.140

localhost.infodon.com. 14400 IN A 127.0.0.1

infodon.com. 14400 IN MX 0 infodon.com.

mail 14400 IN CNAME infodon.com.
ftp 14400 IN A 65.98.61.140
billing 14400 IN A 65.98.61.140
www.billing 14400 IN A 65.98.61.140
flash 14400 IN A 65.98.61.140
www.flash 14400 IN A 65.98.61.140
free 14400 IN A 65.98.61.140
www.free 14400 IN A 65.98.61.140
helpdesk 14400 IN A 65.98.61.140
www.helpdesk 14400 IN A 65.98.61.140
templates 14400 IN A 65.98.61.140
www.templates 14400 IN A 65.98.61.140
domain 1440 IN CNAME 66917.myorderbox.com.
* 14400 IN A 65.98.61.140
www 14400 IN A 65.98.61.140
[root@server10 named]#

Still nslookup do not work, at last found the client have added a domain www.infodon.com and removed its A Record.

[root@server10 named]# ls -l|grep infod
-rw-r–r– 1 named named 927 Dec 23 00:33 infodon.com.db
-rw-r–r– 1 named named 559 Dec 21 18:56 www.infodon.com.db
[root@server10 named]# cat www.infodon.com.db
; cPanel 10
; Zone file for www.infodon.com
$TTL 86400
@ IN SOA dns10.hosthat.com. hostonnet.gmail.com. ( 2005122102 ; serial, todays date+todays
14400 ; refresh, seconds
7200 ; retry, seconds
3600000 ; expire, seconds
86400 ) ; minimum, seconds

www.infodon.com. IN NS dns10.hosthat.com.
www.infodon.com. IN NS dns11.hosthat.com.

www.infodon.com. IN A

localhost.www.infodon.com. IN A 127.0.0.1

www.infodon.com. IN MX 0 www.infodon.com.

mail IN CNAME www.infodon.com.
www IN CNAME www.infodon.com.
ftp IN CNAME www.infodon.com.
[root@server10 named]#

Problem is solved by deleting the DNS Zone

/var/named/www.infodon.com.db

and its entry from

/etc/named.conf

Posted in Windows. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.