O'Reilly logo

Ubuntu Unleashed 2015 Edition: Covering 14.10 and 15.04, Tenth Edition by Matthew Helmke

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

DNS Records

All of these are placed in a zone file, which is discussed further in “Setting Up a DNS Server with BIND.” There are several ways to define the IP/hostname. Some of these DNS records are optional. Many can have multiple entries. The most critical and commonly used ones are listed here, but there are many more available. See https://en.wikipedia.org/wiki/List_of_DNS_record_types for more information.

A

The A record maps a hostname to a 32-bit IPv4 address, as in this example:

example.com IN A 192.0.2.0

The hostname comes first. IN indicates Internet. A indicates that this is an A record. The IPv4 address address comes last.

AAAA

The AAAA record maps a hostname to a 128-bit IPv6 address, as in this example:

example.com AAAA 2001:db8::/32 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required