results.append(dns.RRHeader(name, dns.A, dns.IN,
ttl, record, auth=True))
authority = []
- authority.append(dns.RRHeader(domain, dns.SOA, dns.IN, 3600,
- self.soa, auth=True))
+ auth_record = dns.Record_NS(name='ns1.xvm.mit.edu', ttl=3600)
+ authority.append(dns.RRHeader(domain, dns.NS, dns.IN,
+ 3600, auth_record, auth=True))
return defer.succeed((results, authority, []))
#Doesn't exist
return defer.fail(failure.Failure(dns.AuthoritativeDomainError(name)))