Running a name server: the daemon that answers, the record types it answers with, and a whole zone file to read as one piece.
- Bind — the server itself: ACLs for who may recurse and who may transfer, the control channel, logging channels, options, and the hint, primary and secondary zone declarations.
- DNS records — one section per record type (SOA, NS, MX, A, AAAA, PTR, CNAME, SPF, SSHFP, LOC), each with the line to write, plus how to spot a reverse lookup that is wrong.
- Example of DNS zone —
a complete
example.combuilt up in order: default TTL,SOAand name servers, mail, web and ftp, service records, hosts, and a delegated sub-zone.