User Tools

Site Tools


infra:network:nameserver

Differences

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

Link to this comparison view

Next revision
Previous revision
infra:network:nameserver [2025/07/12 20:26] 404dinfra:network:nameserver [2025/07/12 20:29] (current) 404d
Line 1: Line 1:
-Hackeriet'authoritative name server is used for reverse DNS and the global zone <code>hackeriet.no.</code>+====== Hackeriet authoritative name server ======
  
-The primary name server runs in context of <code>nsd</code> on <code>blade.hackeriet.no</code>, and is backed by [[https://github.com/hackeriet/ns|a Github repository]].+Hackeriet's authoritative name server is used for reverse DNS and the global zone ''hackeriet.no.''
  
-====== Changing records ======+The primary name server runs in context of ''nsd'' on ''blade.hackeriet.no'', and is backed by [[https://github.com/hackeriet/ns|a Github repository]].
  
-  - Make the relevant changes to the <code>hackeriet.no</code> or any other relevant zone file in [[https://github.com/hackeriet/ns|the Github repo]]+===== Changing records ===== 
 + 
 +  - Make the relevant changes to the ''hackeriet.no'' or any other relevant zone file in [[https://github.com/hackeriet/ns|the Github repo]]
   - Update the serial for the zone:   - Update the serial for the zone:
-    - Grab a Unix epoch timestamp using <code>date +%s</code>+    - 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     - 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   - Push your changes
-  - Log in to <code>blade.hackeriet.no</code> +  - Log in to ''blade.hackeriet.no'' 
-  - Change user to root: <code>sudo -i</code> +  - Change user to root: ''sudo -i'' 
-  - Move to the zone file directory and update the repository: <code>cd /etc/nsd/pz && git pull</code> +  - 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: <code>nsd-control reload hackeriet.no</code> (or any other zone name) +  - 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: <code>dig domain.hackeriet.no @ns1.hackeriet.no</code>+  - Verify your new record works properly: ''dig domain.hackeriet.no @ns1.hackeriet.no''
/srv/hackeriet-wiki/dokuwiki/data/attic/infra/network/nameserver.1752352000.txt.gz · Last modified: by 404d