View Single Post
  #1  
Old 22nd November 2008, 23:10
httpDee httpDee is offline
Junior Member
 
Join Date: Jan 2008
Posts: 10
Thanks: 2
Thanked 1 Time in 1 Post
Default Phantom DNS entry causing problems

I am running around 30 web sites on an ISPConfig machine. The system is also providing DNS (thorugh ISPConfig). I recently removed an old site, and ever since, each time I add a site or make a change to an existing site through ISPConfig, DNS will fail to restart.

The first time this happened, it took me a while to figure out what was causing the problem, but eventually I noticed that named.conf still had an entry for the old site:

Code:
zone "sneakyolddomain.com" {
type master; file "pri.sneakyolddomain.com"; allow-query{"any";};
};
but that the zonefile listed ("pri.sneakyolddomain.com") no longer existed.

I deleted the entry in named.conf manually, then restarted DNS with /etc/init.d/named restart

Everything worked fine, until the next time I added a new domain through ISPConfig. Once again DNS failed to restart. I checked named.conf and sure enough the entry for sneakyolddomain.com was back ...

This has reoccurred many times now, and I have gotten used to manually editing named.conf and restarting, but I would love a way to fix this. Can anyone tell me where the sneakyolddomain.com entry in named.conf is coming from?

Thanks in advance
__________________
httpDee
Reply With Quote
Sponsored Links