Scripts to help onboard F5 Distributed Cloud DNS
No way to onboard to F5XC for primary DNS without manually creating entries.
Tested with python3.8, dnsPython2.2.1, requests2.22.0
Nothing fancy here, by default the scripts will look in a subdirectory .secrets for 2 files. The contents of these files are a single line as follows:
.apiToken = the full API token generated from your F5XC instance with DNS rights.
e.g. "APIToken sgr54fgs!zY347rgrew34wtw4trt"
.consoleDomain = the domain/tenant id of your console instance.
e.g. If your console url is foo.console.ves.volterra.io we're looking for "foo" here.
Delete specified zone from F5XC instance.
Dump zone from specified DNS server (AXFR) to STD out.
Dump zone from specified DNS server (AXFR) to STD out in F5XC JSON format.
List all DNS zones defined in F5XC
Migrate zone from specified DNS server (AXFR) to F5XC as Primary Zone
Parse BIND zone files (*.zf) in the zones/ subdirectory and implement as Primary DNS Zone