An open API service indexing awesome lists of open source software.

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.

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.|