Skip to content

Instantly share code, notes, and snippets.

@miyagui
Last active August 8, 2018 16:08
Show Gist options
  • Save miyagui/6077a0a08d681157b7de to your computer and use it in GitHub Desktop.
Save miyagui/6077a0a08d681157b7de to your computer and use it in GitHub Desktop.
inadyn.conf for freedns.afraid.org
​This is the /etc/inadyn.conf i'm using on Ubuntu 14.04:​
​# /etc/inadyn.conf
# Output messages to this file
logfile /var/log/inadyn/inadyn.log
# Or use the system syslog mechanism for log messages
# syslog
# The log debug level, which is an integer between 0 to 5
verbose 1
# How often the IP is checked. The value denotes seconds
period 60000
# Set interface to bind to
# bind eth3
# Set interface to check for IP
# iface eth1
# Full path to external command, or script, to run after a successful DDNS update
# exec /usr/local/bin/script.sh
# Please edit following options before starting daemon
# Service provider
# Please see inadyn(8) for a complete list of providers
system [email protected]
# Your username
username <user>
# Your password
password <password>
# Your hostname. This option can appear multiple times
alias <hostname>​
​After than to edit the crontab I used:​
​sudo crontab -e​
And added this line to the end of the file:
@reboot /usr/sbin/inadyn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment