From c134a72356fd48094162a5582e109d85f65b3d5b Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Sat, 1 Mar 2014 01:40:42 +0100 Subject: [PATCH] Extended README with htaccess command and Ubuntu Bind pitfall --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f500cf0..3645c80 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ In this case, the zone is also called "dyndns.example.com". The (initial) db.dyn ) NS -Remember to change access rights so BIND is able to write to this file. +Remember to change access rights so BIND is able to write to this file. On Ubuntu the zone need to be in /var/lib/bind due to AppArmor. ### PHP script configuration @@ -61,7 +61,10 @@ implemented as text file "dyndns.user" with each line containing : -Where the password is crypt'ed like in Apache's htpasswd files. +Where the password is crypt'ed like in Apache's htpasswd files. Use -d parameter to select the CRYPT encryption. + + htpasswd -c -d conf/dyndns.user user1 + Hosts are assigned to users in using the file "dyndns.hosts": :(,,,...) -- 2.1.4