Book Image

Troubleshooting Ubuntu Server

By : Skanda Bhargav
Book Image

Troubleshooting Ubuntu Server

By: Skanda Bhargav

Overview of this book

Table of Contents (16 chapters)
Troubleshooting Ubuntu Server
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

The primary zone file


Most of the information that the DNS needs is contained in the primary zone file. Let's name our primary zone file as pri.ubuntuserver.org. Let's see what each part of the primary zone file signifies.

The first lines have the information required by secondary or slave servers:

@ IN SOA server1.ubuntuserver.org. root.localhost. (
      2015031106; serial-no
      28800; refresh, seconds
      7200; retry, seconds
      608440; expiry, seconds
      86400 ); minimum-TTL, seconds
;

Let's examine the components of the primary zone file:

  • Name: This is the current name of the zone in /etc/named.conf and is referenced by @. The sign is called origin.

  • Class: This is the DNS class. IN stands for Internet Class.

  • Type: This is the resource record type; here, it is SOA.

  • Name server: This is the fully qualified name for the primary name server. Pay close attention to the dot at the end of the name.

  • E-mail address: Specify the e-mail address of the person who handles this domain. If...