Unolia CLI is a command line interface for managing your DNS records across different providers. It uses Unolia API to unify your provider under the same API. Check out unolia.com for more information.
Currently supported providers:
Current installation requires you to have PHP and Composer installed on your computer. After that, it's as simple as that:
composer global require unolia/unolia-cliIf it's the first time you are using Unolia, add your first providers.
Then you can log in for a 30-day period with this command:
unolia loginIf you prefer a longer lifetime, create a token for your user account or one dedicated to your team and use the token as follows:
unolia login --token={TOKEN}List information about the current user
unolia me
unolia teams List all domains
unolia domain:listList all records for a domain
unolia domain:records example.comAdd, update and remove records
unolia domain:add example.com mg.example.com MX "10 mxa.eu.mailgun.org"
unolia domain:add example.com mg.example.com MX "10 mxb.eu.mailgun.org"
unolia domain:update {ID}
unolia domain:remove {ID}Check DNS records
unolia dig unolia.com TXT
unolia dig unolia.com AInstalled with composer:
composer global update unolia/unolia-cliunolia-cli was created by Eser DENIZ.
unolia-cli PHP is licensed under the MIT License. See LICENSE for more information.