web-nsupdate is a handy tool for updating dynamic DNS through the web. It’s designed to make it easy for clients to send updates whenever they change IP addresses. This is super useful, especially for devices like Linux systems that act as gateways for home internet connections.
The web-nsupdate package allows your device to send a straightforward web request using commands like wget or lynx. This request lets the web-nsupdate service know that your device needs to register its new host information.
This package works well on servers with these Debian packages:
Configuring BIND for dynamic DNS can be tricky! You'll need to set this up for web-nsupdate to function properly. I recommend checking out the dnssec-keygen(8) and nsupdate(8) man pages first so you understand what you're getting into.
Copy the web-nsupdate files to a folder, like "/usr/local/lib/web-nsupdate". You can choose another location, just remember to update the instructions accordingly.
Create a TSIG key that web-nsupdate will use for authentication with your DNS server.
Please keep this key safe! Anyone with access can modify DNS records managed by web-nsupdate.
Create your definitions file using the sample provided and secure it from prying eyes.
You’ll also want to ensure that the path in nsupdate.php points correctly to nsupdate-defs.php.
Add a symlink of the update script into your website directory.
Create a new named.keys file containing your TSIG key.
Add this keys file where your named.conf lives, making sure it's protected from unauthorized access.
Add an include line in your named.conf: include "named.keys";
Edit named.conf to allow updates from specific hosts you want registered through [web-nsupdate].
You can test if everything's working by visiting the installed nsupdate.php script in your browser and submitting an entry!
Go to the Softpas website, press the 'Downloads' button, and pick the app you want to download and install—easy and fast!
SoftPas is your platform for the latest software and technology news, reviews, and guides. Stay up to date with cutting-edge trends in tech and software development.
Subscribe to newsletter
© Copyright 2024, SoftPas, All Rights Reserved.