Skip to content

Instantly share code, notes, and snippets.

@pickerin
pickerin / he-dns-update.sh
Created July 4, 2017 15:09 — forked from joemiller/he-dns-update.sh
script for updating dynamic DNS records on he.net (hurricane electric)
#!/bin/bash
#
# Script for updating DNS records on Hurricane Electirc's DNS system (https://dns.he.net).
#
# The record will be updated with the IP address that originates the request.
#
# Usage
# -----
#
# Create config file `/etc/he-dns-update.conf`:
### Keybase proof
I hereby claim:
* I am pickerin on github.
* I am robpickering (https://keybase.io/robpickering) on keybase.
* I have a public key ASAiK3eS3DKXpG_DTRUDmNLHn0gXjQLIQi2x8oOPKpKBUwo
To claim this, I am signing this object:
/**
* Nest
*
* Author: github@pickering.net
* Date: 2014-03-09
* Code: https://gist.github.com/pickerin/9446532
*
* Modifications:
* * Updated device preferences to ask for ZIP Code
* * Used user provided ZIP Code in the weather fetch (was previously hard coded)