Different nameserver IPs and proper setup

Post Reply
cyadron
Posts: 3
Joined: Thu May 20, 2021 8:38 am
Different nameserver IPs and proper setup

Post by cyadron »

Hi,

I am trying to host a .de domain.
They have very strict requirements.
One of those requirements is to have different IPs for the two nameservers(so ns1.domain.de and ns2.domain.de cannot point to the same IP).
They provide a tool to check if everything is setup well(https://www.denic.de/en/service/tools/nast/).
I have a class of IPs from my provider, so I have different IPs(different VPSes running myvesta) but I cannot properly set the DNS for the second NS.
I keep getting "Inconsistent set of NS RRs (IP, NS host names)" error when I check it using the tool above.
Can you please tell me what the proper setup should be?

Thank you.

User avatar
dpeca
Site Admin
Posts: 550
Joined: Fri Jun 19, 2020 9:59 am
Your location: Serbia, Niš and Belgrade
First name and last name: Predrag Damnjanović
Re: Different nameserver IPs and proper setup

Post by dpeca »

It's probably expecting the same SOA header.
I think you can trick it if you get the content of /home/USER/conf/dns/DOMAIN.COM.db and copy-paste to the second server (to the same file) and then restart bind9:

Code: Select all

systemctl restart bind9
Other solution is CloudFlare DNS :D


Post Reply