-1

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?

6
  • You ignora tha t there are DNS Servers. Where is the conflict- you say WHO does what, not WHERE. Also, this is learing material level.
    – TomTom
    Nov 25 at 7:06
  • Thanks for the comment by i dont see any answer to the question, The conflict is that there are 2 same a record created one by TLD owner another by me the domain owner. And by saying this is learning material i don't know what you mean !? We are here to ask what we don't know and my question is based on a work scenario
    – Salar
    Nov 25 at 7:35
  • Do you know how DNS works? It's hierarchical. Normally 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.
    – vidarlo
    Nov 25 at 7:53
  • 1
    @Salar The question can not be answered without talking about WHICH dns servers you talk to. Because last time I checked, the owners of a domain has no access to my own dns servers. By referring to learning material I mean you should at least read the RFC's. Your question is based on supposedly not thinking about the question and clearing up which servers are involved, which is KIND OF CRITICAL.
    – TomTom
    Nov 25 at 7:55
  • If you create a TLD zone your server thinks it's authorative for every .com... Does that sound like a good idea?
    – vidarlo
    Nov 25 at 10:18

0

Browse other questions tagged .