A minimal-configuration script designed to support clusters with DNS failover.
This project requires AWS credentials to be configured.
sudo pip install r53-register
r53-register foo.example.com
Environment variable | Default | Description |
---|---|---|
INTERFACE_PREFIX |
en,eth,wl |
A comma-separated list of interface prefixes. Interfaces will be searched in sequence to find an IP address. |
INTERFACE_NAME |
- |
A specific interface to grab the IP from. |
PUBLIC_IP |
False |
Override interface search and use this machine’s public IP instead. |
SKIP_CHECK |
False |
Skip checking the value of the current record and always update. |
NAMESERVERS |
8.8.8.8,8.8.4.4 |
Nameservers to use when checking to see if an update is required. |