DNS

Table of Contents

Outline

Records

SOA

domain.com.  IN SOA ns1.domain.com. admin.domain.com. (
                                            12083   ; serial number
                                            3h      ; refresh interval
                                            30m     ; retry interval
                                            3w      ; expiry period
                                            1h      ; negative TTL
)

A and AAAA

ns1                 IN  A       111.222.111.222
ns1.domain.com.     IN  A       111.222.111.222  ;  They are equivalent

@       IN  A       222.222.222.222  ; To refer to the base domain
*       IN  A       222.222.222.222  ; To refer to anything not defined

CNAME

www         IN  CNAME   server1

ALIAS

MX

        IN  MX  10  mail1.domain.com.
        IN  MX  50  mail2.domain.com.
mail1   IN  A       111.111.111.111
mail2   IN  A       222.222.222.222

NS

        IN  NS     ns1.domain.com.
        IN  NS     ns2.domain.com.
ns1     IN  A      111.222.111.111
ns2     IN  A      123.211.111.233

PTR

444.333.222.111.in-addr.arpa.   33692   IN  PTR host.example.com.

References