Ignore:
Timestamp:
May 31, 2008, 1:36:44 AM (17 years ago)
Author:
broder
Message:

Return an NS record in the authority section instead of SOA

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-dns/code/dnsserver.py

    r508 r541  
    6969                                            ttl, record, auth=True))
    7070        authority = []
    71         authority.append(dns.RRHeader(domain, dns.SOA, dns.IN, 3600,
    72                                       self.soa, auth=True))
     71        auth_record = dns.Record_NS(name='ns1.xvm.mit.edu', ttl=3600)
     72        authority.append(dns.RRHeader(domain, dns.NS, dns.IN,
     73                                      3600, auth_record, auth=True))
    7374        return defer.succeed((results, authority, []))
    7475        #Doesn't exist
Note: See TracChangeset for help on using the changeset viewer.