https://github.com/cloyne/docker-powerdns-primary
PowerDNS master Docker image.
https://github.com/cloyne/docker-powerdns-primary
cloyne-dns docker-image server2 tozd-extension
Last synced: 2 months ago
JSON representation
PowerDNS master Docker image.
- Host: GitHub
- URL: https://github.com/cloyne/docker-powerdns-primary
- Owner: cloyne
- Created: 2014-06-30T09:02:20.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2022-02-19T03:46:59.000Z (about 4 years ago)
- Last Synced: 2024-03-27T10:23:41.727Z (about 2 years ago)
- Topics: cloyne-dns, docker-image, server2, tozd-extension
- Language: Shell
- Homepage: https://hub.docker.com/r/cloyne/powerdns-master/
- Size: 29.3 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
To add a DNS record (e.g. a subdomain):
0. Make sure the version on the server matches the version in this repository.
If the version on the server is newer, update this repository to match
first. Check `/etc/powerdns/bind/db.cloyne.org` in the `dns` container on
server2.
1. Open `etc/powerdns/bind/db.cloyne.org` in an editor
2. Increment the Serial number
3. Add the line
4. save and quit
5. Commit/push and wait for Docker hub to update
6. Deploy to server2 according to [cloyne/servers](http://github.com/cloyne/servers)
7. On server2, if it doesn't start properly (i.e., `pdns_server` does not show up in
`top` within the container), exec into the docker container
(`docker exec -ti dns script -q -c "/bin/bash" /dev/null`)
8. edit `/etc/powerdns/pdns.conf` (you'll probably need to install an editor,
either `apt install nano` or `apt install vim-tiny`) and change the line
`launch=` to `launch=bind`. Then add the line
`bind-config=/etc/powerdns/bindbackend.conf`.
9. Restart `pdns` with `sv restart powerdns`
10. Run `pdns_control reload`. Now `pdns_control list-zones` should show
40-29.133.62.64.in-addr.arpa.
cloyne.net.
cloyne.org.
All zonecount:3
11. Wait patiently for changes to propagate.
TODO: automate this.