| 1 |
# dnshome.de API |
| 2 |
|
| 3 |
## Add TXT record |
| 4 |
|
| 5 |
``` |
| 6 |
https://<subdomain>:<subdomain_password>@www.dnshome.de/dyndns.php?acme=add&txt=<txtvalue> |
| 7 |
``` |
| 8 |
|
| 9 |
- `<subdomain>`: the subdomain (ex: `lego.dnshome.de`). |
| 10 |
- `<subdomain_password>`: the subdomain password. |
| 11 |
- `<txtvalue>`: the value of the TXT record (12 characters minimum) |
| 12 |
|
| 13 |
Only one TXT record can be used for a subdomain. |
| 14 |
|
| 15 |
Always returns StatusOK (200) |
| 16 |
|
| 17 |
If the API call works the first word of the response body is `successfully`. |
| 18 |
|
| 19 |
If an error occurs the response body is `error - <ERRMSG>`. |
| 20 |
|
| 21 |
Can be a POST or a GET. |
| 22 |
|
| 23 |
## Remove TXT record |
| 24 |
|
| 25 |
``` |
| 26 |
https://<subdomain>:<subdomain_password>@www.dnshome.de/dyndns.php?acme=rm |
| 27 |
``` |
| 28 |
|
| 29 |
- `<subdomain>`: the subdomain (ex: `lego.dnshome.de`). |
| 30 |
- `<subdomain_password>`: the subdomain password. |
| 31 |
|
| 32 |
Only one TXT record can be used for a subdomain. |
| 33 |
|
| 34 |
Always returns StatusOK (200) |
| 35 |
|
| 36 |
If the API call works the first word of the response body is `successfully`. |
| 37 |
|
| 38 |
If an error occurs the response body is `error - <ERRMSG>`. |
| 39 |
|
| 40 |
Can be a POST or a GET. |