Skip to content

mistermocha/google-dnsupdate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

google dnsupdater script

This script is meant to run in a cron. It will consume /etc/googledomains.ini for configs (domain, username, password) for instructions on how to access your google domains api (as documented here).

Configure your ini config like this:

[DEFAULT]
# Should just return an IPv4 addr
ipsource = http://canihazip.com/s

[my.domain.tld]
username = sekretusername
password = sekretpasswerd

Note that canihazip.com/s returns just an IP address with no stylization. This is perfect for API calls like this. If they happen to fall over at any time, we will just have to figure out a new source of truth for IP addressing.

More to come to make this better. Patches and fixes welcome!

About

python dnsupdate script for google domains

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages