Jump to content
Froxlor Forum


  • Posts

  • Joined

  • Last visited

ServiusHack's Achievements


Newbie (1/14)

  • Conversation Starter
  • First Post
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges



  1. Hi folks, it has been quite some time ago that DynDNS cut off their free offering. I was in need of another solution. Since I'm already using Froxlor for a hosting server it seemed like a natural addition to implement dynamic DNS in Froxlor. Today I want to present this modification to you after it's been in use for several months. It basically works like this: A user calls http://your-froxlor.com/updateip.php toset a new IP for one of his domains. As soon as the bind configuration is updated the new IP is in DNS and will be returned when resolving the domain. As with the number of domains and other resources it can be configured how many dynamic domains (domains for which the IP can be updated by calling updateip.php) a user can have. The user can enable the dynamic DNS feature for any of his domains. The IP can also be set through the administrative interface. Calling the updateip.php script is fairly simple. It supports HTTP authentication and authentication using request parameters. A domain must be set for which the IP will be updated and either an IPv4 or IPv6 address must be provided or the auto-detection feature is used. An example: http://your-froxlor.com/updateip.php?domain=home.my-domain.com&ipv4= The dynamically changed IP (either set through the admin interface or by using updateip.php) will be set as the domain's IP instead of the server IP. When dynamic DNS is enabled for a domain its TTL is set to 1 to ensure changes to the IP propagate quickly. You can have a look at the code at https://github.com/ServiusHack/Froxlor/tree/dynamic-dns. I've made this post in the hope for any feedback on the feature or the code. If there is some interest in merging this I'm more than happy to fix any issue and make a pull request. Best Regards Severin Leonhardt
  • Create New...