From 6516f9993489b7b5692efd6cddf66a533b68c954 Mon Sep 17 00:00:00 2001 From: Nico Kaiser Date: Wed, 2 Oct 2013 15:34:09 +0200 Subject: [PATCH] Fix README --- README.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 892da5a..9d3623a 100644 --- a/README.md +++ b/README.md @@ -40,15 +40,15 @@ and saved to a file which is referenced in config.php as "bind.keyfile". In the In this case, the zone is also called "dyndns.example.com". The (initial) db.dyndns.example.com file (located in BIND's cache directory) looks like this: - $TTL 1h - @ IN SOA dyndns.example.com. root.example.com. ( - 2007111501 ; serial - 1h ; refresh - 15m ; retry - 7d ; expiration - 1h ; minimum - ) - NS + $TTL 1h + @ IN SOA dyndns.example.com. root.example.com. ( + 2007111501 ; serial + 1h ; refresh + 15m ; retry + 7d ; expiration + 1h ; minimum + ) + NS Remember to change access rights so BIND is able to write to this file. @@ -77,15 +77,15 @@ them in your Document root, otherwise every Web user can read them. Authentication in URL: - http://username:password@yourdomain.tld/?hostname=yourhostname&myip=ipaddress + http://username:password@yourdomain.tld/?hostname=yourhostname&myip=ipaddress Raw HTTP GET Request: - GET /?hostname=yourhostname&myip=ipaddress HTTP/1.0 - Host: yourdomain.tld - Authorization: Basic base-64-authorization - User-Agent: Company - Device - Version Number + GET /?hostname=yourhostname&myip=ipaddress HTTP/1.0 + Host: yourdomain.tld + Authorization: Basic base-64-authorization + User-Agent: Company - Device - Version Number Fragment base-64-authorization should be represented by Base 64 encoded username:password string. -- 2.1.4