Bind9 - distro
, ylmcc
Bind9 is our DNS provider. Currently it runs on Paphos, but is being moved to Fred during the restructuring.
Configuration
The config files for bind are located in /etc/bind/master/
. The most important file in this directory is the
db.Redbrick.dcu.ie
file.
{==
You must never update this file without following the steps below first!
==}
Updating DNS
To update DNS:
- Change directory to
/etc/bind/master
- Back up the
db.Redbrick.dcu.ie
file, usually todb.Redbrick.dcu.ie.bak
- Run
rndc freeze redbrick.dcu.ie
- this stops changes to the file affecting dns while you edit it - Edit
db.Redbrick.dcu.ie
- Before changing any DNS entry in the file, you must edit the serial number on 4. You can increment it by one if
you want, or follow the format:
YYYYMMDDrev
where rev is revision - Once you are happy with your file, you can check it with
named-checkzone redbrick.dcu.ie db.Redbrick.dcu.ie
- If this returns no errors, you are free to run
rndc thaw redbrick.dcu.ie
- Check the status of bind9 by running
service bind9 status
You can access more logs from bind9 by checking /var/log/named/default.log
.
Last update:
2023-10-11