Skip to content

Instantly share code, notes, and snippets.

@budiwijaya
budiwijaya / ddns.py
Created August 4, 2017 08:05 — 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`
"""
@budiwijaya
budiwijaya / keybase.md
Created August 26, 2016 10:20
Keybase.io

Keybase proof

I hereby claim:

  • I am budiwijaya on github.
  • I am budiwijaya (https://keybase.io/budiwijaya) on keybase.
  • I have a public key whose fingerprint is 4858 FDDB 3481 C2D4 CB67 33FE 760C 37C7 AEB2 C9B3

To claim this, I am signing this object:

@budiwijaya
budiwijaya / mtrancid
Created July 30, 2016 15:17 — forked from udienz/mtrancid
Rancid script for mikrotik and vyatta
#! /usr/bin/perl
##
## $Id$
##
## rancid 2.3.9
## Copyright (C) 1997-2011 by Terrapin Communications, Inc.
## All rights reserved.
##
## This software may be freely copied, modified and redistributed
## without fee for non-commerical purposes provided that this license