Skip to content

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:

  1. Choose Add permission template from the top Users menu
  2. Give a meaningful name (for example dynamic) and description (For DNS updates)
  3. Select permissions (zone_master_add, zone_content_view_own and zone_content_edit_own)

Create a new user using the previous template:

  1. Choose Add user from the top Users menu
  2. Provide user details, user previous template

Log in as a new user:

  1. Select Add master zone
  2. Provide domain name
  3. Go to the zone you created
  4. 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