Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.69 KB

README.md

File metadata and controls

28 lines (22 loc) · 1.69 KB

docker-dns-o-matic

Docker Image for running dns-o-matic

Example

docker run --name dns-o-matic -e USERNAME=foo -e PASSWORD=bar ammmze/dns-o-matic

Volumes

Path Description
/config The directory where we keep configuration files...really just the file the tracks the last known ip address

Environment variables

Name Default Value Description
USERNAME (no value) The username used to authenticate with the dns-o-matic api
PASSWORD (no value) The password used to authenticate with the dns-o-matic api
CONFIG_DIR /config The directory where we keep configuration files...really just the file the tracks the last known ip address
DELAY 1h How long to wait between update checks
HOST all.dnsomatic.com The hostname parameter passed to the dns-o-matic api. The hostname that should be updated. Or all.dnsomatic.com to update all hosts
WILDCARD NOCNG The wildcard parameter passed to the dns-o-matic api
MX NOCNG The mx parameter passed to the dns-o-matic api
BACKMX NOCNG The backmx parameter passed to the dns-o-matic api
IP_ADDR_PROVIDER http://myip.dnsomatic.com/ Web API that provides the current public IP address to the client. Manually modify if default provider does not respond with 200 OK. Example alternative values: https://api.ipify.org and https://bot.whatismyipaddress.com