- Notifications
You must be signed in to change notification settings - Fork0
Drain and undrain frontends by using DNS
License
NotificationsYou must be signed in to change notification settings
czerwonk/dns-drain
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Drain by removing/replacing IP/net from DNS records with ease
This tool uses GO modules and requires go 1.18+ to build.
Drain IP 1.2.3.4 in project api-project-xxx by removing IP from records
$ dns-drainctl gcloud --project api-project-xxx drain -f drain.json 1.2.3.4/32
Drain IP 1.2.3.4 in project api-project-xxx by replacing IP with 1.2.3.5
$ dns-drainctl gcloud --project api-project-xxx drain 1.2.3.4/32 -f drain.json --replace-by 1.2.3.5
Undrain by using json file written in drain process
$ dns-drainctl gcloud --project api-project-xxx undrain -f drain.json
- Google Cloud DNS
- support for more providers
(c) Daniel Czerwonk, 2016. Licensed underMIT license.
About
Drain and undrain frontends by using DNS
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published