infra:network:nameserver
Hackeriet authoritative name server
Hackeriet's authoritative name server is used for reverse DNS and the global zone hackeriet.no.
The primary name server runs in context of nsd
on blade.hackeriet.no
, and is backed by a Github repository.
Changing records
- Make the relevant changes to the
hackeriet.no
or any other relevant zone file in the Github repo - Update the serial for the zone:
- Grab a Unix epoch timestamp using
date +%s
- Paste the resulting value into the changed zones, replacing the first numeric value within the parentheses of the SOA record at the top of the file
- Push your changes
- Log in to
blade.hackeriet.no
- Change user to root:
sudo -i
- Move to the zone file directory and update the repository:
cd /etc/nsd/pz && git pull
- Once the checkout is consistent, update the zone in nsd:
nsd-control reload hackeriet.no
(or any other zone name) - Verify your new record works properly:
dig domain.hackeriet.no @ns1.hackeriet.no
/srv/hackeriet-wiki/dokuwiki/data/pages/infra/network/nameserver.txt · Last modified: by 404d