ドキュメント
利用条件
HubDNS には、次のコマンドが含まれます。
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)
用途例:
$ 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. -
自動更新:
ISPがIPアドレスを頻繁に変更する場合、次の操作を実行することで、自動更新を有効にすることをお勧めします。
chmod +x /etc/cron.hourly/hubdns-update
HubDNS 起動とシャットダウン init スクリプト:
HubDNS は、システムがシャットダウン(TKLAPP.com を使用している場合)に関連した DNS レコードを自動的に解放し、システムが起動したときに自動的に更新されます。
DNSレコードを解放する心配する必要はありません。TKLAPP.comホスト名を削除しません。 明示的に削除するまで、それはあなたに属します 口座のプロファイル.