跳到正文
TURNKEYGNU / LINUX
应用文档博客截图GitHubTurnKey Hub
文中文
EnglishEspañol中文日本語PortuguêsDeutsch
ưμ㼯A/使用量

文档

使用量

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 启动和关闭内置脚本 :
 
HubDNS将在您的系统关闭时自动释放相关的DNS记录(如果使用TKLAPP.com),并在您的系统启动时再次自动更新.
 
无需担心, 释放 DNS 记录不会删除您的 TKLAPP.com 主机名。 它属于您, 直到您从您的明确删除它 。 账户配置.
TURNKEYGNU / LINUX

无需从零开始,掌控自己的基础设施。

探索 TurnKey
关于文档常见问题博客GitHub
自由开源默认安全随时可部署