References
Common Record Types
This section covers some of the most common DNS record types.
-
A record: This record maps an IP Address to a hostname.
www IN A 192.168.1.12
-
CNAME record: Used to create an alias to an existing A record. You cannot create a CNAME record pointing to another CNAME record.
web IN CNAME www
-
MX record: Used to define where email should be sent to. Must point to an A record, not a CNAME.
IN MX 1 mail.example.com. mail IN A 192.168.1.13
-
NS record: Used to define which servers serve copies of a zone. It must point to an A record, not a CNAME. This is where Primary and Secondary servers are defined.
IN NS ns.example.com. IN NS ns2.example.com. ns IN A 192.168.1.10 ns2 IN A 192.168.1.11
More Information
-
The BIND9 Server HOWTO in the Ubuntu Wiki has a lot of useful information.
-
The DNS HOWTO at The Linux Documentation Project also has lots of information about configuring BIND9.
-
Bind9.net has links to a large collection of DNS and BIND9 resources.
-
DNS and BIND is a popular book now in it's fifth edition. There is now also a DNS and BIND on IPv6 book.
-
A great place to ask for BIND9 assistance, and get involved with the Ubuntu Server community, is the #ubuntu-server IRC channel on freenode.