I am very new into the Linux world. I'm trying to configure 3 Authoritative-Only DNS servers. I got everything set up, except for the zone of in-addr.arpa
. I have the following servers with the respective public IP (I'm using random numbers):
www - Webserver - 123.45.678.90
ns1 - Master DNS Server - 123.45.678.91
ns2 - Slave DNS Server #1 - 15.143.21.897
ns3 - Slave DNS Server #2 - 130.112.29.143
How can I configure the Reverse DNS when the Slave's IP are not within the same network or range? I have been reading lots of articles about DNS with Bind9 but I still don't get it how can I make it work.
Both the Webserver and Master DNS Server are with the same Cloud Compute Provider, one Slave is with Google Cloud Compute and the last one is with Amazon Web Services EC2 instance.
I understand the first two PTR records, but how can the 678.45.123.in-addr.arpa
zone be set up?
90 IN PTR 123.45.678.90 www.mydomainexample.com
91 IN PTR 123.45.678.90 ns1.mydomainexample.com
? IN PTR ? ns2.mydomainexample.com
? IN PTR ? ns3.mydomainexample.com