projects
/
dyn-nsupdate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dyn-ns-client: add option to remove potentially existing A/AAAA records
[dyn-nsupdate.git]
/
client-scripts
/
dyn-ns-client
diff --git
a/client-scripts/dyn-ns-client
b/client-scripts/dyn-ns-client
index 0e96bedb792e34cb79c35164eb240ebb7a94949a..f482c194f6fe17ed5a621f04f956f79785b41364 100755
(executable)
--- a/
client-scripts/dyn-ns-client
+++ b/
client-scripts/dyn-ns-client
@@
-61,6
+61,8
@@
def getMyIP(family, config, methods = {}, verbose = 0):
method = config[family]['method']
if method == 'none':
return None
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'
elif method == 'web':
server = config[family].get('server', config['DEFAULT']['server'])
url = 'https://'+server+'/checkip'