projects
/
dyn-nsupdate.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
7ac1ff2
)
more README tweaking
author
Ralf Jung
<post@ralfj.de>
Thu, 6 Nov 2014 16:28:14 +0000
(17:28 +0100)
committer
Ralf Jung
<post@ralfj.de>
Thu, 6 Nov 2014 16:28:14 +0000
(17:28 +0100)
README.rst
patch
|
blob
|
history
diff --git
a/README.rst
b/README.rst
index c4fff98e6eadec6d2f7c5795edc35164e28cfa44..399448a909fafdef0ea18e4270b2bb34b318213f 100644
(file)
--- a/
README.rst
+++ b/
README.rst
@@
-51,7
+51,7
@@
install it and the sample configuration file, and set their permissions::
sudo install ../../dyn-nsupdate.conf /var/lib/bind/dyn-nsupdate.conf -o bind -g bind -m u+rw
Finally, edit the config file. The format should be pretty self-explanatory. In
sudo install ../../dyn-nsupdate.conf /var/lib/bind/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
*!
+particular, *
*change the password*
*!
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
@@
-75,7
+75,9
@@
path in the ``update`` CGI script accordingly.
That's it! Your server is now configured. You can use ``curl`` to test your
setup::
That's it! Your server is now configured. You can use ``curl`` to test your
setup::
- 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'
Client setup (using the script)
Client setup (using the script)