authority.append(dns.RRHeader(domain, dns.NS, dns.IN,
3600, self.ns, auth=True))
if cls == dns.IN:
if type in (dns.A, dns.ALL_RECORDS):
host = name[:-len(domain)-1]
if not host:
authority.append(dns.RRHeader(domain, dns.NS, dns.IN,
3600, self.ns, auth=True))
if cls == dns.IN:
if type in (dns.A, dns.ALL_RECORDS):
host = name[:-len(domain)-1]
if not host: