https://github.com/awkspace/r53-register
Registers a machine to a Route 53 record.
https://github.com/awkspace/r53-register
Last synced: 5 months ago
JSON representation
Registers a machine to a Route 53 record.
- Host: GitHub
- URL: https://github.com/awkspace/r53-register
- Owner: awkspace
- License: mit
- Created: 2018-04-28T20:49:49.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-06-14T03:42:23.000Z (about 4 years ago)
- Last Synced: 2025-12-13T07:32:08.779Z (7 months ago)
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Minimalistic Route53 update script
A minimal-configuration script designed to support clusters with DNS failover.
## Requirements
This project requires [AWS
credentials](http://boto3.readthedocs.io/en/latest/guide/configuration.html) to
be configured.
## Usage
``` bash
sudo pip install r53-register
r53-register foo.example.com
```
## Optional configuration
|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.|