multi server DNS issue - not authoritative

sokolkapl

Verified User
Joined
Mar 12, 2010
Messages
40
I have two VPS boxes, in 2 different geo locations, with DA installed on each one of them. Lets call them Box 1 and Box 2

I have connected them using Multi Server Setup and tested connections.

Here is the issue: only one of them updates and downloads the zones-- Box 2

I checked the logs in Box 1 and I'm getting:

Code:
received notify for zone 'ANY_DOMAIN_I_ADD_HERE.com': not authoritative

By Gooling this error and trying to understand what is going on, my impression is that this is due to the fact that the zone is simply not added under named.conf - but shouldn't DA take care of it?
 
Yes, I did. I have done it before and it work but on another box.

Both have "Zone Transfer" and "Domain Check" checked, both test ok connection.

I just saw another error message:

Jun 14 12:57:01 server named[16340]: the working directory is not writable
 
Make certain that your firewalls allow bidirectional port 2222 tcp/ip traffic.

Jeff
 
I have a standard ConfigServer Security & Firewall - csf v5.32 installed and port 2222 is open on both machines.


I just tried adding a domain on Box 1 that already existing on Box 2 and I received error: "Cannot create that domain Details That domain already exists" which just proves that both servers are in fact connected using multi server feature.

Could this be some sort of the bug in DA itself?
 
SeLLeRoNe, yes, I understand that the error message is normal to prevent misconfiguration. However, the zones are not being transferred to Box 1 and I'm not getting any error messages in /var/log/messages or DA logs.
 
Check DNS on box, that domain should be there.. If not cause Multi-Server Enable just cause maybe you added in past (or domain or just dns) and something went wrong when removing.
 
It was added in the past indeed, and I deleted using DA panel all zones that were not local. I had another VPS that had all domains that Box 2 has now so all the domains from Box 2 existed on Box 1.

What could have possibly went wrong with deletion? Where should I look?
 
Box2 isnt set with multi-server so? Are you sure? Cause if is still enable will "push" the dns everynight as far as i know... so.. if on domain add it say "domain exist" is cause the dns zone exist, so, two possibility:

1- box2 have multi-server enable and correctly set and is pushing the dns
2- you got all disable but still got the data on box1 that you should remove or by dns manage into directadmin or editing manually the named.conf file removing the line for that domain (ex. Include /bla/bla/domain.com.db) and ofc restart/reload named
 
Box 2 is set with multi server, and so is Box 1. Again, the connection tests are OK.

The named.conf in Box 1 does not have any of the domains that are on Box 2 in it, or any that are left over. I believe the error that says that the domain already exists comes from DA connecting to Box 2 which proves the multi server is set up correctly.

I have also tried restarting named, rebooted both OSes, and removed and added connections again.
 
Ok, now is clear.

If multi-server is enable before add the domain DA will check ALL domains in multi-server setup.

If the domain is in at least ONE of those, will not add the domain and that is normal.

The Multi-server is made for DNS not for hosting clustering.

So, you can have the domain just on one box, not in two o more.

Regards
 
To make it clearer, in DNS administration:

Box 1:

Domain Local Data
aaaaa.com yes
bbbbb.com yes
ccccc.com yes

Box 2:
aaaaa.com no
bbbbb.com no
ccccc.com no
ddddd.com yes
eeeee.com yes


The domains ddddd.com and eeeee.com are not being transferred to Box 1. Is that more clear?
 
Look for errors in /var/log/messages after you issue the command "rndc reload" in ssh.
 
Back
Top