Knowledge Base - FAQ

Question: How can I setup a Dynamic DNS style record when using Kattare DNS servers?

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.



Last Modified: Nov 20, 2010


Kattare is Trustwave Certified and Safe Harbor Certified | Rated Safe For Kids by ICRA | All Rights Reserved Worldwide
Copyright © 1997 - 2012 Kättare Internet Services | Processed in 0.012 seconds by pyramid-05 in Corvallis, Oregon