Skip to content

Instantly share code, notes, and snippets.

View tim-seoss's full-sized avatar

Tim Small tim-seoss

View GitHub Profile
@tim-seoss
tim-seoss / ddns.py
Last active August 29, 2015 14:25 — forked from pklaus/ddns.py
A script to update the A and AAAA RRs of HOSTNAME on a DNS server according to your current external IP address using nsupdate / TSIG. This script is tested to run on Mac OS X (10.8-10.9) but you should be able to get it up and running in almost no time on any Unix or Linux system that ships nsupdate. I use this script to update my own DDNS serv…
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Written on 2013-02-04 by Philipp Klaus <philipp.l.klaus →AT→ web.de>.
Check <https://gist.github.com/4707775> for newer versions.
Uses dnspython: install with `pip install dnspython3`
"""