From: Nico Kaiser Date: Wed, 2 Oct 2013 13:34:09 +0000 (+0200) Subject: Fix README X-Git-Tag: v1.0.0~4 X-Git-Url: http://git.neszt.hu/?a=commitdiff_plain;h=6516f9993489b7b5692efd6cddf66a533b68c954;p=Dyndns%2F.git Fix README --- 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.