Authoritative DNS






  • Bind configuration
  • Bind Dockerfile

The bind configuration repository is only visible to admins since private key is included.

# copy the ssh key
# to ~/.ssh/id_ed25519

# now get the conf
git clone /var/lib/bind

# delete the ssh key
rm ~/.ssh/id_ed25519
docker run --restart=always -v /var/lib/bind/:/etc/bind \
       --net host -it -d --name=auth-dns zhusj/bind9

Update DNS Record

Just commit your change to the configuartion repository. More details can be found in the repository.


Please add a webhook in the configuration repository, so that the DNS record can be automatically updated when we commit.

The webhook endpoint is http://<server_ip>:9000/hooks/bind, see for example.