mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Using dyndns host for dns resolution instead of hardcoded ip
This commit is contained in:
parent
c5b5f2eb35
commit
6883784fdb
1 changed files with 2 additions and 2 deletions
|
@ -227,8 +227,8 @@ def dyndns_update(dyn_host="dyndns.yunohost.org", domain=None, key=None,
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
old_ipv4 = check_output("dig @91.224.148.92 +short %s" % domain).strip()
|
old_ipv4 = check_output("dig @%s +short %s" % (dyn_host, domain)).strip()
|
||||||
old_ipv6 = check_output("dig @91.224.148.92 +short aaaa %s" % domain).strip()
|
old_ipv6 = check_output("dig @%s +short aaaa %s" % (dyn_host, domain)).strip()
|
||||||
|
|
||||||
# Get current IPv4 and IPv6
|
# Get current IPv4 and IPv6
|
||||||
ipv4_ = get_public_ip()
|
ipv4_ = get_public_ip()
|
||||||
|
|
Loading…
Add table
Reference in a new issue