User Tools

Site Tools


bind9-pinpoint-zone

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
bind9-pinpoint-zone [2021/07/31 18:25] – created baumibind9-pinpoint-zone [2022/07/15 08:24] (current) baumi
Line 1: Line 1:
 ====== DNS Pinpoint Zone with Bind9 ====== ====== DNS Pinpoint Zone with Bind9 ======
-{tag>kb linux}+ 
 +===== Add zone definition to /etc/bind/named.conf.local ===== 
 +<code> 
 +zone "somehost.domain.tld"
 +        notify no; 
 +        type master; 
 +        file "/etc/bind/somehost.domain.tld.zone"; 
 +}; 
 +</code> 
 + 
 +===== Create pinpoint zone file  /etc/bind/somehost.domain.tld.zone ===== 
 +<code> 
 +$TTL 1D 
 +@               IN      SOA     ns.domain.tld. hostmaster.domain.tld. ( 
 +                                2021071401      ; serial, todays date + todays serial # 
 +                                8H              ; refresh, seconds 
 +                                2H              ; retry, seconds 
 +                                1W              ; expire, seconds 
 +                                1D )            ; minimum, seconds 
 +                                                ; 
 +                        NS      ns              ; Inet Address of name server 
 + 
 +                IN      A       192.168.1.1 
 +ns              IN      A       192.168.1.1 
 +</code> 
 +**Remarks:** 
 +  * The missing "" in the first A Record is not a typo. 
 +  * The closing "ns" is important, otherwise the zone file will fail to load. 
 + 
 +{{tag>kb linux dns}}
bind9-pinpoint-zone.1627748726.txt.gz · Last modified: 2021/07/31 18:25 by baumi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki