Dns Domain Zone File Example
Nsd powerdns are using the zone files only as a starting point to compile them into database format see also.
Dns domain zone file example. The format is defined in rfc 1035. Usually we will have a dns zone for each domain and that zone will contain important records and settings related to our domain which would include for example a records txt records etc. Two name servers are used one internal ns1 and one external ns2 to the domain. Let s go through it line by line.
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. This means of course that the subdomains will be stored in the dns zone but is also possible for a subdomain to have its own dns zone if we want. Example a dyn zone file. The bind zone file is a file format that has been widely adopted by dns server software.
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.