https://github.com/agherzan/dyndns53
Tool for updating your Amazon Route53 DNS A records to the current external IP of a running machine.
https://github.com/agherzan/dyndns53
Last synced: 10 months ago
JSON representation
Tool for updating your Amazon Route53 DNS A records to the current external IP of a running machine.
- Host: GitHub
- URL: https://github.com/agherzan/dyndns53
- Owner: agherzan
- Created: 2016-09-12T17:08:54.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-10-22T23:51:03.000Z (over 9 years ago)
- Last Synced: 2025-01-13T13:28:38.157Z (over 1 year ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dyndns53
Tool for updating your Amazon Route53 DNS A records to the current external IP of a running machine.
## Configuration
There are two configurations that are needed for this tool to work properly:
+ AWS credentials which need to be provided via environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY. Make sure that you have access to modify the DNS records.
+ A tool's configuration text file which needs to reside in ~/.dyndns53
## ~/.dyndns53 configuration file
The configuration file should contain blocks of the following format:
```
[bar.com]
subdomains: foo
root: True
```
Each section is a domain. `subdomains` option need to include all the subdomains for which this tool will update the A record. The `root` option needs to be boolean and will determine if the tool will update the record for the root domain too.
Example:
```
[bar.com]
subdomains: foo www
root: True
[test.com]
root: True
```
The above configuration will update the A record of the following fully qualified domain names to the current external IP address:
+ foo.bar.com
+ www.bar.com
+ bar.com
+ test.com
## Running the container
docker run -v /where/i/put/my/files/.dyndns53:/root/.dyndns53:ro -e AWS_ACCESS_KEY_ID=XXX -e AWS_SECRET_ACCESS_KEY=YYY alephan/dyndns53