DNS-O-Matic update script in Python