a dynamic DNS server to host the names of guests with changing IP addresses by providing an http API for updating bind9 configurations.
The code in this repo assumes the existence of an installed and running bind9 server on the same server as is running peach-dyndns-server. Documentation for setting up bind9 can be found here.
The peach-dyndns-server code can be compiled with
cargo deb; sudo dpkg -i target/debian/peach-dyndns-server_0.1.0_amd64.deb
sudo su peach-dyndns; ./target/release/main -vv
prod is deployed to /srv/peachcloud/peach-dyndns-server/prod-peach-dyndns
staging is deployed to /srv/peachcloud/peach-dyndns-server/dev-peach-dyndns
test peach-dyndns server is running,
curl http://localhost:8000
test peach-bind9 is running,
nslookup blue.dyn.peachcloud.org ns.peachcloud.org