You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additionally the publish=True does not seem to work correctly in this iteration. Right after i run the change_ip i have to do a zone.publish() for it to actually write to DYN.
If you have a zone that does not actually contain any A records this function will fail.
The utility fails with this error:
Traceback (most recent call last):
File "C:/Users/blahblah/PycharmProjects/DynReader/DynModifier.py", line 26, in
changedRecords = change_ip(zone, oldIP, newIP, v6=False, publish=True)
File "C:\Users\blahblah\PycharmProjects\DynReader\venv\lib\site-packages\dyn\tm\tools.py", line 30, in change_ip
records = records['aaaa_records'] if v6 else records['a_records']
KeyError: 'a_records'
The text was updated successfully, but these errors were encountered: