Skip to content

Instantly share code, notes, and snippets.

@lllooioolll
lllooioolll / cloudflare-update-record.sh
Created December 17, 2018 11:12 — forked from benkulbertis/cloudflare-update-record.sh
Cloudflare API v4 Dynamic DNS Update in Bash
#!/bin/bash
# CHANGE THESE
auth_email="[email protected]"
auth_key="c2547eb745079dac9320b638f5e225cf483cc5cfdda41" # found in cloudflare account settings
zone_name="example.com"
record_name="www.example.com"
# MAYBE CHANGE THESE
ip=$(curl -s http://ipv4.icanhazip.com)
@lllooioolll
lllooioolll / sniproxy.conf
Created November 23, 2018 11:26 — forked from phoenixlzx/sniproxy.conf
SNIProxy configuration
# sniproxy example configuration file
# lines that start with # are comments
# lines with only white space are ignored
user daemon
# PID file
pidfile /var/run/sniproxy.pid
resolver {