Using OpenStack DNS¶
Before working with the DNS service, you’ll need to create a connection
to your OpenStack cloud by following the Connect user guide. This will
provide you with the
conn variable used in the examples below.
def list_zones(conn): print("List Zones:") for zone in conn.dns.zones(): print(zone)
Full example: dns resource list