Skip to content

Simple script that uses whatsmyip.org for retrieving remote IP and updating DNS records in DirectAdmin accordingly

Notifications You must be signed in to change notification settings

rikmeijer/directadmindyndns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DirectAdmin DynDNS control

config.php: <?php return function(callable $app) { $app(DA_URL, DA_USER, DA_PASS, [ DOMAIN => [HOST, HOST, HOST] ]); };

Replacements

  • DA_URL : https://web.host.tld
  • DA_USER/DA_PASS: credentials for logging into DirectAdmin
  • DOMAIN: mysite.tld
  • HOST: subdomains, e.g. www

Steps

  • create config
  • install composer
  • install php mbstring
  • # composer install
  • # php cron.php
  • add to crontab

About

Simple script that uses whatsmyip.org for retrieving remote IP and updating DNS records in DirectAdmin accordingly

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages