method = config[family]['method']
if method == 'none':
return None
+ elif method == 'remove':
+ return ""
elif method == 'web':
server = config[family].get('server', config['DEFAULT']['server'])
url = 'https://'+server+'/checkip'
[IPv4]
# Possible IPv4 detection methods are
# none: Don't set IPv4 address (leaves the domain's A record untouched).
+# remove: Remove domain's A record if it exists.
# web: Call a website to detect the current, external IPv4 address.
method = web
[IPv6]
# Possible IPv6 detection methods are
# none: Don't set IPv6 address (leaves the domain's AAAA record untouched).
+# remove: Remove domain's AAAA record if it exists.
# web: Call a website to detect the current, external IPv6 address.
# local: Try to detect the global IPv6 address based on the configuration of the local network interfaces.
method = none