'Get the DNS records for a domain.
:param domain: The domain in question.
:param port: If the results don\'t include a port, use this one.'

def get_dns_records(self, domain, port=None):

    if (port is None):
        port = self.default_port
    resolver = default_resolver()
    self.configure_dns(resolver, domain=domain, port=port)
    return resolve(domain, port, service=self.dns_service, resolver=resolver, use_ipv6=self.use_ipv6, use_dnspython=self.use_dnspython)
