|
Documentation
Kattare is dedicated to making your hosting experience as painless as possible.
That means making as much help and documentation available as possible.
If you have a question that you think would be helpful to have here, please
[Submit your Question].
|
|
| Category |
| Domain Management |
|
Question
|
Last Modified: Mar 08, 2007
|
| How can I setup a Dynamic DNS style record when using Kattare DNS servers? |
| Answer |
Using a periodic request to our website using our interface API you can adjust DNS
entries dynamically.
From our API docs at: http://www.kattare.com/members/interface_api.kvws
REPLACE Records (https://www.kattare.com/interface/dns.kvws)
Variable Description
login Your Members Section login name.
password Your Members Section password.
domain The domain name. (no www.)
fx The function you want to execute. ('REPLACE')
type Record type to REPLACE. ('A' or 'CNAME')
record The record to modify.
new_value The new value for the record. (or 'DETECT' for the IP the request is from.)
Thus a cron entry like the following: (may wrap... but it should all be on one line...)
0 * * * * curl -I https://www.kattare.com/interface/dns.kvws?login=member1&password=password1&record=myserver&domain=mydomain.com&fx=REPLACE&type=A&new_value=DETECT 1>/dev/null 2>/dev/null
Will replace the myserver.mydomain.com DNS A record with the current IP address of the server making the cron curl request. The login and password must match your members section login and password. The URL is https, so your password will be secure in transit.
|
[FAQ Main]
[Submit a Question]
[Back to Category "Domain Management"]
|
|
 |