nicokaiser / Dyndns

A simple DynDNS server in PHP
MIT License
101 stars 34 forks source link

bugfix: all fixes to ttl value were lost #5

Closed MaxChinni closed 10 years ago

MaxChinni commented 10 years ago

In the first lines of the function updateBind() you read ttl value from the configuration, then some sanity checks are performed:

The problem is that when it get written to create the actual nsupdate command, the value is taken again from the original configuration loosing all the performed sanity checks.

nicokaiser commented 10 years ago

Good catch, thanks!