This utility was originally designed to work with Zilore DNS, who are unsetting their DNS service on July 14, 2024. Whilst there is a plan for us to support other GeoDNS providers with the same declarative YAML, there is currently no due date for this. Please keep tihis in mind when using this utility.
This is a command line interface for the Zilore DNS service. It allows you to declaratively define your GeoDNS records in a YAML file and then apply them to your Zilore account. It ensures that the state of the domain, records, geodns records and the failover records matches what is in the YAML file, and it removes what is not in the YAML file from Zilore.
Sultan Saif al-Din Qutuz (https://en.wikipedia.org/wiki/Qutuz) was the the third Sultan of the Mamluk Sultanate of Cairo. It was during his reign that the historic battle of Ayn Jalut (https://en.wikipedia.org/wiki/Battle_of_Ain_Jalut) took place outside Jerusalem in 1260 which stopped the movement of the Mongols westward. Sultan Qutuz ruled from 1259 to 1260.
Using this requires php 8.2 (a Docker version is coming soon which will not require PHP).
Simply clone this git repo. Then run:
composer install
To use this utility you need PHP 8.2 installed and you must:
- Get an API key from your Zilore account.
- Create a YAML file that describes your domain and records and place it in the
domains
folder.
Then:
The docker container is available at ghcr.io/mam-luk/qutuz
.
Run:
docker run -v $(pwd)/domains:/qutuz/domains ghcr.io/mam-luk/qutuz <API_KEY> qutuz/domains/<filename>.yml
Make sure you have PHP 8.2 installed and run:
./qutuz dns:ensure <API_KEY> domains/<filename>.yaml
Then sit back and watch the terminal. It will tell you what it is doing.
MIT. See LICENSE for more details.
- symfony/console
- symfony/yaml
- This utility has been built for Mamluk (https://mamluk.net), 7x (https://7x.ax) and Islamic Network (https://islamic.network)