Check for DNS replication using Multi-Server setup

alrnetwork

Verified User
Joined
Feb 12, 2021
Messages
164
Location
Europe UTC+2
Hi there,

I have 2 servers, both running the latest version of DA and have enable Mult-Server setup on both. The purpose, is to perform DNS replication from server A to Server B.

At present NS1 and NS2 on server A are both set to "1.1.1.1" (not the actual address obviously). The reason for this, is simply because I didn't have 2 separate servers at the time of adding DNS records for domains.

I've added server 2 into sever 1's Multi-Server setup using the IP "1.1.1.2" checked "SSL" and entered the username and password used to access DirectAdmin.

The actions I have configured are "Zone Transfer" and "Domain Check".

I have repeated the same step for server 2, entering the IP for Server 1 "1.1.1.1" and the relevant username/password for DA, and enabled the same options.

Both servers have multi-server setup turned "on",

Server 1 has 2FA, so I do not know how or if that will affect the ability for server 2 to access the DA install on Server 1 or not.

The question is:

How can I verify that DNS replication is happening? I've checked on server 2, and there are no domains / DNS records which are present on server 1. Am I doing something wrong?

If so, what should I be doing to fix this?

Thanks!
 
I want to add, that this has only been in place for about 1 hour.. so if it's simply a propagation issue, I'm okay with that.
 
only new DNS changes will be forwarded to second server, if You want to sync all now - just run named rewrite at source server:
echo "action=rewrite&value=named" >> /usr/local/directadmin/data/task.queue
 
Thanks for this! Useful info indeed.

I've just ran that command now on the source server (1.1.1.1). I'll check back in an hour or so to see if it all moved across.
 
One final question (if you know the answer) - This is in preparation for me to wipe and re-install server 1 (1.1.1.1). Now that the DNS zones are on server 2, when I rebuild server 1, will it replicate back across from server 2 to server 1?

If you don't know the answer, no worries.. just wondering how much work I have ahead of me.
 
Back
Top