You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,9 @@ Authorization is done using HTTP Basic Auth or using the *username* and *passwor
8
8
9
9
The full URL looks like *http://dyndns.example.com/?hostname=myhost.example.com* (HTTP Basic Auth) or *http://dyndns.example.com/?hostname=myhost.example.com&username=myuser&password=mypassword* (URL variable auth).
10
10
11
-
You may also specify the IP addresses using a GET variable (ipaddresses=address1,ipaddress2,...). Example: *http://dyndns.example.com/?hostname=myhost.example.com&ipaddresses=79.206.99.18,2003:66:ef47:3400:cb0:7f2c:6c50:567d*
11
+
You may also specify the IP address using a GET variable (ipaddress=your.ip.address.here). Example: *http://dyndns.example.com/?hostname=myhost.example.com&ipaddress=79.206.99.18*
12
+
13
+
PHP DynDNS also supports IPv6! To update both, the IPv4 and IPv6 address, just make two requests (one with the IPv4 and one with the IPv6 address).
12
14
13
15
## Requirements
14
16
@@ -19,12 +21,10 @@ You may also specify the IP addresses using a GET variable (ipaddresses=address1
19
21
## Installation
20
22
21
23
* Clone this repository to your web directory from where you want to serve the files (e.g. /var/www/dyndns)
22
-
*Create a file*config.json*in the data directory (See the *config.json* wiki page)
23
-
*Configure the user provider you want to use (e.g. XML)
24
+
*Copy *config.sample.json* to*config.json* (See the *config.json* wiki page for details)
25
+
*Edit config.json to fit your needs
24
26
* Configure your router to automatically do a request to the URL of your DynDNS service after reconnect (Or create a cronjob with curl/wget).
25
27
26
-
## User Configuration
27
-
28
-
All the user configuration stuff like allowed hostnames or post processing commands is configured via user providers.
28
+
## Important
29
29
30
-
The default user provider reads the user configuration from a XML file (See the *XML User Provider* wiki page).
30
+
Make sure the config.json is not readable via HTTP! On Apache this is already done using the .htaccess file.
0 commit comments