Skip to content
systemd scripts to automatically update your legitDNS.com domain
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
legitdns.service.d
LICENSE
README.md
legitdns.service
legitdns.timer

README.md

legitDNS systemd updater service

Automatic hourly IP updates for legitDNS dynamic DNS service using systemd.

Installation

# Remove example.conf file
rm legitdns.service.d/example.conf

# Create new config with YOUR domain and token
# You can use a more descriptive file name
cat > legitdns.service.d/domain.conf << EOF
[Service]
Environment=DDNS_DOMAIN=insert_your_domain_here
Environment=DDNS_TOKEN=insert_your_token_here
EOF

cp -r legitdns.* /etc/systemd/system/
chown -R root:root /etc/systemd/system/legitdns.*

systemctl daemon-reload
systemctl enable legitdns.timer
systemctl start legitdns.timer

Status

systemctl status legitdns

Removal

systemctl stop legitdns.timer
systemctl disable legitdns.timer

rm -rf root:root /etc/systemd/system/legitdns.*
You can’t perform that action at this time.