Browse Source

Merge branch 'master' of gitlab.no:rune/py-dyndns

master
Rune Olsen 1 year ago
parent
commit
b023219faf
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      py-dyndns.py

+ 4
- 1
py-dyndns.py View File

@@ -104,7 +104,10 @@ def listcurrent():
remote = current.read().decode('utf-8')
remoteData = json.loads(remote)
remoteIP4 = remoteData['domain_record']['data']
print(section+' : '+remoteIP4)
if remoteIP4 != local_ip4:
print(section+' : '+remoteIP4+' Update is needed!')
else:
print(section+' : '+remoteIP4)


def addnewdomin(newdata):


Loading…
Cancel
Save