4 A zone file

A zone file describes specific data of a DNS zone. The following is an example of a zone file:


Listing 1: Sample zone file
1$ORIGIN drtak.org  
2$TTL 1h  
3drtak.org.    IN SOA ns.somens.net. root.drtak.org. (  
4                20091129      ; serial #  
5                1d          ; slave refresh  
6                1d          ; retry time  
7                4w          ; expiration time  
8                1h          ; caching time in case of failed lookup  
9                ) 
10drtak.org.    NS    ns  
11drtak.org.    NS    ns1.somens.net.  
12drtak.org.    MX    10 mail.drtak.org.  
13drtak.org.    MX    20 mail1.drtak.org.  
14drtak.org.    A      10.0.2.20  
15ns          A      10.0.2.21  
16mail        A      10.0.2.22  
17mail1        A      10.0.2.24  
18www          CNAME  drtak.org.