to update some domain to the current address(es) of the machine it is running
on. Alternatively, some routers can be configured to do this themselves. The
FritzBox is known to be supported.
to update some domain to the current address(es) of the machine it is running
on. Alternatively, some routers can be configured to do this themselves. The
FritzBox is known to be supported.
make
This should compile the binary ``dyn-nsupdate``. If you want to put the files in
another directory, change the configuration file name accordingly. You can now
install it and the sample configuration file, and set their permissions::
make
This should compile the binary ``dyn-nsupdate``. If you want to put the files in
another directory, change the configuration file name accordingly. You can now
install it and the sample configuration file, and set their permissions::
- sudo install dyn-nsupdate /var/lib/bind/dyn-nsupdate -o bind -g bind -m +rx,u+ws
- sudo install ../../dyn-nsupdate.conf /var/lib/bind/dyn-nsupdate.conf -o bind -g bind -m u+rw
+ sudo install dyn-nsupdate $DIR/dyn-nsupdate -o bind -g bind -m +rx,u+ws
+ sudo install ../../dyn-nsupdate.conf.dist $DIR/dyn-nsupdate.conf -o bind -g bind -m u+rw
Now, let's go on with the CGI scripts. They are using Python 2, so make sure you
have that installed. There are two scripts: One is used for clients to detect
Now, let's go on with the CGI scripts. They are using Python 2, so make sure you
have that installed. There are two scripts: One is used for clients to detect
- curl 'https://ns.example.com/update?domain=test.dyn.example.com&password=some_secure_password&ip=127.0.0.1'
+ DOMAIN=test.dyn.example.com
+ PW=some_secure_password
+ curl 'https://ns.example.com/update?domain=$DOMAIN&password=$PW&ip=127.0.0.1'