Working with Zones

A zone is a description, or a definition, of a domain (or subdomain). The zone is what makes up the database of records for a domain. Zone files are separate files located in /var/lib/named and are text files containing the data for the zone. BIND defines its zones in /etc/named.conf by specifying the location of these zone files.

In this section, you will see how a DNS zone is constructed and what information you can store for a specific zone.

We use palmcoder.net as an example of a zone (see Listing 21-2) and will go through the DNS records and explain their uses.

LISTING 21-2

The palmcoder.net Zone

palmcoder.net. IN

SOA

zen.palmcoder.net. justin

200707111

10800

3600

604800

38400 )

NS

zen

MX

10 mail

MX

20 pirhana.bytemark.co.uk

zen

A

212.13.208.115

www

CNAME

zen

mail

A

212.13.208.115

sospan

CNAME

zen

shuttle

A

195.137.34.245

palmcoder.net. (

palmcoder.net. (

Was this article helpful?

0 0

Post a comment