httpDee
23rd November 2008, 00:10
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:
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
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:
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