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`:
/**
* 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)