This library is for altering your DNS entries at GratisDNS.
To get started you need to install the library:
composer require kasperhartwich/gratisdns
See example.php
for how to use this and use dyndns.php
to automatically update a record with a dynamic ip.
Feel free to fork and if you can improve this script please make a pull request. :)
Licensed under MIT License.
-- This php script use 'PHP Simple HTML DOM Parser' to parse the HTML. http://simplehtmldom.sourceforge.net I would love to require this thru Packagist, but it is not included.