Zone File Multiple Domain
This format was originally used by the berkeley internet name domain bind software package but has been widely adopted by other dns server software though some of them e g.
Zone file multiple domain. Dns zone file and its content explained in full detail. You can use zone files to get a representation of all the records of a particular domain. So new domain in bind dns server can be added following the below two methods. Let s go through it line by line.
You can give different ttl values to different records however we have already defined a default ttl value of 1 day in the beginning of the zone file. The use of zones and zone files is what allows dns to be a distributed and resilient system. Each domain may have its own zone file or multiple domains may use one global zone file. Dns zones provide a very easy and simple method of grouping domain data from multiple domains together for storage.
A zone file is a representation of your domain s zone in a text file. The text file follows the bind format and includes information about all the records the domain has. Understand the working of different resource records and its usage in dns by making an example zone file entry in bind. File format the format of a zone file is defined in rfc 1035 section 5 and rfc 1034 section 3 6 1.
For domains to share a zone and hence a zone file the domains must be contiguous. Adding new domain using one global zone file or. Above we have a small but complete example of a typical zone file in fact it s an anonymized version of a production zone file on a domain i manage.