Documentation
Usage
HubDNS includes the follow commands:
hubdns-init - HubDNS initialization hubdns-update - Update FQDN with IP address of client hubdns-release - Release DNS records associated with FQDN (only TKLAPP.com) hubdns-info - Display HubDNS information (i.e., associated IP address)
Example usage:
$ hubdns-init -h
HubDNS initialization
Arguments:
APIKEY Cut and paste this from your Hub account's user profile.
FQDN Fully Qualified Domain Name to associate
Example: www.yourdomain.com (your own custom domain name)
Example: yourapp.tklapp.com (free TurnKey subdomain)
Options:
--force Force re-initialization with new APIKEY and FQDN
(also allows multiple domains to point to the same IP
but must be added one at a time)
$ hubdns-init QPINK3GD7HHT3A demo.tklapp.com
Linked HubDNS to your Hub account and set demo.tklapp.com.
$ hubdns-update
Updated demo.tklapp.com. with 89.123.89.12
Optional::
$ hubdns-info
demo.tklapp.com. 89.123.89.12
$ hubdns-release
Released DNS records associated with demo.tklapp.com.
$ hubdns-info
demo.tklapp.com. -
Automatic updates:
If your ISP changes your IP address frequently, we recommend that you enable automatic updates by executing the following:
chmod +x /etc/cron.hourly/hubdns-update
HubDNS startup and shutdown init script:
HubDNS will automatically release the associated DNS records when your system is shutdown (if using TKLAPP.com), and automatically update it again when your system starts.
No need to worry, releasing the DNS records does not delete your TKLAPP.com hostname. It belongs to you until you explicitly delete it from your account profile.