X-Git-Url: https://git.ralfj.de/dyn-nsupdate.git/blobdiff_plain/86d574acc0ee6945936ce655b3b41887e2820b0a..6259a980d722ebbf8a9f0b3f7ca1e9461b7caac9:/README.rst diff --git a/README.rst b/README.rst index 399448a..90bf60e 100644 --- a/README.rst +++ b/README.rst @@ -1,5 +1,5 @@ dyn-nsupdate: Self-made DynDNS -=============================================================== +============================== Introduction ------------ @@ -39,16 +39,16 @@ source directory, run:: cd nsupd-wrapper mkdir -p build cd build - cmake .. -DCMAKE_BUILD_TYPE=Release \ - -DDYNNSUPDATE_CONFIG_FILE=/var/lib/bind/dyn-nsupdate.conf + DIR=/var/lib/bind + cmake .. -DCMAKE_BUILD_TYPE=Release -DDYNNSUPDATE_CONFIG_FILE=$DIR/dyn-nsupdate.conf 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 Finally, edit the config file. The format should be pretty self-explanatory. In particular, **change the password**!