unolia / unolia-cli
Cli tool to interact with the Unolia API
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^8.2|^8.3
- laravel-zero/phar-updater: ^1.3
- laravel/prompts: ^0.1.20
- react/dns: ^1.12
- saloonphp/pagination-plugin: ^2.0
- saloonphp/saloon: ^3.0
Requires (Dev)
- larastan/larastan: ^2.9
- laravel-zero/framework: ^11.0
- laravel/pint: ^1.15
- mockery/mockery: ^1.6
- nunomaduro/termwind: ^2.0.1
- pestphp/pest: ^2.22
- saloonphp/laravel-plugin: ^3.0
README
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:
- Amazon Route 53
- Bunnynet
- Cloudflare
- Digitalocean
- Gandi
- Ionos
- OVH
- Porkbun
- Namecheap (soon)
- Godaddy
Installation
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-cli
Connect your accounts
If 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 login
If 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}
Usage
List information about the current user
unolia me unolia teams
List all domains
unolia domain:list
List all records for a domain
unolia domain:records example.com
Add, update and remove records
unolia domain:add example.com MX mg.example.com "10 mxa.eu.mailgun.org" unolia domain:add example.com MX mg.example.com "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 A
Upgrade
Installed with composer:
composer global update unolia/unolia-cli
Credits
unolia-cli was created by Eser DENIZ.
License
unolia-cli PHP is licensed under the MIT License. See LICENSE for more information.