Some domains not in named.conf

nieuwhier

Verified User
Joined
Sep 8, 2005
Messages
280
Location
Netherlands
Hi,

Since I am monitoring my DNS better now I see that some domains are not in the name.conf.

The have a normal account in DA, the .db file does exist and is create when I choose for a rewrite of the zone files.

Only the include in the named.conf is missing. Does anyone knows how this is possible and how I can solve this on a DA manner. (I know I can add it manually but I am not sure if I solve the cause then).

Regards,
Michel.
 
Hi!
I'm experiencing same issue from the start (about year ago). I've already wrote on this forum, but didn't get answer.
I've updated my DirectAdmin and installed another server and the problem still exists on second server.
My dirty workaround is script which recreates named.conf every 5 minute, taking zones from files in /var/named.conf (probably taking domains from /etc/virtual/domainowners would be better).
 
My dirty workaround is script which recreates named.conf every 5 minute,

That means you would have to also reload named every 5 minutes. I do not consider that to be a viable work around, at least not every 5 minutes.

What you should do is monitor changes to named.conf and check the directadmin log and see who was logged in at that time and what they were doing. That way you can isolate the problem.
 
That means you would have to also reload named every 5 minutes. I do not consider that to be a viable work around, at least not every 5 minutes.
No, I don't reload named. Just recreate file if at least one domain missing. That's enough.
What you should do is monitor changes to named.conf and check the directadmin log and see who was logged in at that time and what they were doing. That way you can isolate the problem.
I'll think about it, thank you for tip.
 
No, I don't reload named. Just recreate file if at least one domain missing. That's enough.

No its not. If a domain is added to named.conf that was not there the last time named was reload then the new domain will not be loaded. Its not enough to just add the missing domain to named.conf.
 
No its not. If a domain is added to named.conf that was not there the last time named was reload then the new domain will not be loaded. Its not enough to just add the missing domain to named.conf.
domains disappear from time to time. Sometimes there are days when nothing disappears.
The point is my way is working. Clients stopped moaning and sites are online. Even if it's wrong - it does work.
 
it does work.

It will not work all the time. I have already explained why. Simply adding them to named.conf will not bring a site back online that was previously offline. named must be reloaded.

You need to find out why domains are disappearing.
 
Back
Top