def get_dns_ip():
    'Get an IP address for the DNS server on the provided cidr.'
    interface = ipaddress.IPv4Interface(service_cidr())
    ip = (interface.network.network_address + 10)
    return ip.exploded
Get an IP address for the DNS server on the provided cidr.
def get_dns_ip():
    
    interface = ipaddress.IPv4Interface(service_cidr())
    ip = (interface.network.network_address + 10)
    return ip.exploded