User Tools

Site Tools


bind9-pinpoint-zone

DNS Pinpoint Zone with Bind9

Add zone definition to /etc/bind/named.conf.local

zone "somehost.domain.tld" {
        notify no;
        type master;
        file "/etc/bind/somehost.domain.tld.zone";
};

Create pinpoint zone file /etc/bind/somehost.domain.tld.zone

$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

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.
bind9-pinpoint-zone.txt · Last modified: 2022/07/15 08:24 by baumi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki