User Tools

Site Tools


infra:network:nameserver

This is an old revision of the document!


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

  1. Make the relevant changes to the hackeriet.no or any other relevant zone file in the Github repo
  2. Update the serial for the zone:
    1. Grab a Unix epoch timestamp using date +%s
    2. 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
  3. Push your changes
  4. Log in to blade.hackeriet.no
  5. Change user to root: sudo -i
  6. Move to the zone file directory and update the repository: cd /etc/nsd/pz && git pull
  7. Once the checkout is consistent, update the zone in nsd: nsd-control reload hackeriet.no (or any other zone name)
  8. Verify your new record works properly: dig domain.hackeriet.no @ns1.hackeriet.no
/srv/hackeriet-wiki/dokuwiki/data/attic/infra/network/nameserver.1752352156.txt.gz · Last modified: by 404d