DynDNS updates with TSIG and /etc/ppp/ip-up.local

Table of Contents

changing providers I adjusted the old script to fit my router, using PPPoE but not NetworkManager.

Create /etc/ppp/ip-up.local with this content

nail down the file permissions:

cd /etc/ppp
chmod 700 ip-up.local
chown root.root ip-up.local
restorecon -v /etc/ppp/ip-up.local

I’ve only used this on CentOS5, but you can expect this to work on pretty much any distribution. Go through your distribution’s ifup scripts (Red Hat based distros /etc/sysconfig/network-scripts) if /etc/ppp/ip-up.local is not the path for you.

If the above makes no sense to you, then you probably want to continue updating your DynDNS entries with ddclient.

nsupdate can be found in the bind-utils RPM. yum install bind-utils.

When having trouble with bind, I find that the book DNS and BIND (5th Edition), ISBN 9780596100575, published by O’Reilly Media, Inc always comes in handy.