We have two BIND DNS servers in our infrastructure and all of the servers and clients DNS servers are set to these two BIND servers.
We want to create some records for DNS resolution and since our environment is internal and we want to resolve queries to private IP address ranges.
Some of the records required by Development team are in form of domain name and top-level domain:
record1.com 192.168.98.2
record2.com 172.17.17.17
server1.net 192.168.168.4
How should I define my zones? Should I create one zone for each record and in that zone specify one A record?
For Example, server1.net I create zone server1.net and put this record in zone data file:
@ IN A 192.168.168.4
Or should I create one TLD zone and put all of A records in that zone?
What method is better and preferred?
com.
servers won't reply with anything but NS records. All the actual zone records will be on your server, so the scenario indicates severe misconfiguration.