X-Git-Url: https://git.ralfj.de/dyn-nsupdate.git/blobdiff_plain/972eb0dc179ce417624d64b4c18d58b201b36921..b1006fae0117ac7c0062e92b5842bf9eb9179c6d:/client-scripts/dyn-ns-client?ds=sidebyside diff --git a/client-scripts/dyn-ns-client b/client-scripts/dyn-ns-client index 0e96bed..f482c19 100755 --- 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 + elif method == 'remove': + return "" elif method == 'web': server = config[family].get('server', config['DEFAULT']['server']) url = 'https://'+server+'/checkip'