masteras

Setup FreeDNS with Inadyn

Oct 28th, 2017
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. http://freedns.afraid.org/dynamic/
  2.  
  3. Right click on "Direct URL" and copy the URL and paste it somewhere
  4. http://freedns.afraid.org/dynamic/update.php?[alpha-numeric-key]
  5. http://freedns.afraid.org/dynamic/update.php?a2tMNjAzd3huVzR5MXExdFJIc246MTI5ODMxMjk=
  6.  
  7. sudo apt-get install inadyn
  8.  
  9. sudo nano /etc/inadyn.conf
  10.  
  11. --username ********
  12. --password ********
  13. --update_period 3600
  14. --forced_update_period 21600
  15. --alias masteras.mooo.com,a2tMNjAzd3huVzR5MXExdFJIc246MTI5ODMxMjk=
  16. --dyndns_system [email protected]
  17. --verbose 5
  18.  
  19. Now, we need to ensure that the DNS updater (Inadyn) runs automatically after every re-boot
  20.  
  21. export EDITOR=nano && sudo crontab -e
  22.  
  23. Add the following line:
  24.  
  25. @reboot /usr/sbin/inadyn
  26. */5 * * * * /usr/sbin/inadyn
  27.  
  28. Reboot system and then run the following command to ensure inadyn is running:
  29.  
  30. ps -A | grep inadyn
Add Comment
Please, Sign In to add comment