Skip to content

Instantly share code, notes, and snippets.

View oej's full-sized avatar

Olle E. Johansson oej

View GitHub Profile
@oej
oej / dnsupdate.py
Created December 12, 2020 19:59 — forked from pklaus/dnsupdate.py
dnsupdate is meant to replace nsupdate, the standard DDNS update tool created by BIND authors ISC. While nsupdate does the job it is awkward to wrap in scripts and its usage in general is just not very intuitive. dnsupdate is meant to work well from the command line or from scripts and easy to use. It also does some nice things like automaticall…
#!/usr/bin/env python2.7
# Matt's DNS management tool
# Manage DNS using DDNS features
#
# See http://planetfoo.org/blog/archive/2012/01/24/a-better-nsupdate/
#
# Usage: dnsupdate -s server -k key -t ttl add _minecraft._tcp.mc.example.com SRV 0 0 25566 mc.example.com.
# -h HELP!
# -s the server
# -k the key
Verifying my Blockstack ID is secured with the address 1LW1yk8VmCyYDhRqXJaPTqczoiryQ1YDsg https://explorer.blockstack.org/address/1LW1yk8VmCyYDhRqXJaPTqczoiryQ1YDsg

Keybase proof

I hereby claim:

  • I am oej on github.
  • I am oej (https://keybase.io/oej) on keybase.
  • I have a public key whose fingerprint is 8DF8 173C ED14 FFBC 1B08 1FDA 783A 96DA CE1A 4AEB

To claim this, I am signing this object: