aliyun-ddns-client
aliyun-ddns-client copied to clipboard
如何解析局域网地址
我的配置文件如下, 但是我的DomainRecord1的域名还是走了公网, 我指定了interface, 我如何用这个网卡的ip呢?(也就是局域网地址)
netifaces 已安装
[DEFAULT]
# Required: access id obtains from aliyun
access_id=隐藏
# Required: access key obtains from aliyun
access_key=隐藏
# Optional: not used now
interval=600
# Optional: turn on debug mode or not
debug=true
[DomainRecord1]
# Required: domain name, like google.com
domain=隐藏.com
# Required: subdomain name, like: *, www, blog, bbs
sub_domain=pi4
# Required: resolve IPV6 address
#type=A
# Option: Deafult Interface is eno1
interface=wlan0
[feature_public_ip_from_nic]
enable=false
interface=eth0