https://cloud.google.com/dns/

A normal day I was under the protection of my headphones thinking about some ideas like kubernetes clusters, continuous integration, continuous deployment was when I received the mission: We could migrate to Google DNS!
Almost instantly I started thinking about my requirements for this migration:

* Create an Infrastructure as a code

* Document all zones and records

* Easy reproducibility

{
"zone": "example.com.",
"name": "name-of-your-zone-in-google-cloud-dns",
"description": "
example of DNS zone writed in JSON format",
"records": [
{
"name": "example.com.",
"type": "A",
"ttl": 3600,
"value": ["8.8.8.8",
"8.8.4.4"]
},
{
"name": "dns.example.com.",
"type": "CNAME",
"ttl": 3600,
"value": ["google.com."]
}
]
}

To reproduce with ease the tool should be able to run as in command line. The life can always be more fun when use Python 3.
I created open source tool shared below. I hope that if you have read so far it means that have a chance to receive a star in this repository, maybe adding feature, complain about some issue, please enjoy.

https://github.com/firemanxbr/google-dns-api

Making the difference via open source

Making the difference via open source