Dynamic DNS
Edmondas Girkantas edited this page Dec 28, 2023
·
14 revisions
There are scripts in Poweradmin that enable you to do dynamic DNS updates.
- dynamic_update.php - Script for updating IP address (server side)
- addons/clientip.php - provides your public IP address for dynamic DNS client (server side)
- dynamic_dns_client.sh - Bash script for updating IP address (client side)
- dynamic_dns_client.py - Python script for updating IP address (client side)
- dynamic_dns_client.pl - Perl script for updating IP address (client side)
Create the user template:
- Choose
Add permission template
from the topUsers
menu - Give a meaningful name (for example dynamic) and description (For DNS updates)
- Select permissions (
zone_master_add
,zone_content_view_own
andzone_content_edit_own
)
Create a new user using the previous template:
- Choose
Add user
from the topUsers
menu - Provide user details, user previous template
Log in as a new user:
- Select
Add master zone
- Provide domain name
- Go to the zone you created
- Add a record that will be updated dynamically
Update dynamic DNS client. Depending on your preference, you can use Shell, Perl, or Python script
Then run it:
chmod 755 dynamic_dns_client.sh
./dynamic_dns_client.sh
Alternatively, you can create a client that sends username and password with basic authentication