- Timestamp:
- Nov 1, 2008, 1:55:22 AM (16 years ago)
- Location:
- trunk/packages/invirt-dns
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-dns/debian/changelog
r1477 r1478 3 3 * Instead of hacking in support for prod.xvm.mit.edu, support zone files 4 4 that override the database 5 * Punt passup option as it can be handled by the zone file 5 6 6 -- Evan Broder <broder@mit.edu> Sat, 01 Nov 2008 0 0:48:53-04007 -- Evan Broder <broder@mit.edu> Sat, 01 Nov 2008 01:05:57 -0400 7 8 8 9 invirt-dns (0.0.4) unstable; urgency=low -
trunk/packages/invirt-dns/invirt-dns
r1477 r1478 92 92 ttl, self.soa, auth=True)) 93 93 else: # Request for a subdomain. 94 if 'passup' in dir(config.dns) and host in config.dns.passup:95 record = dns.Record_CNAME('%s.%s' % (host, config.dns.parent), ttl)96 return defer.succeed((97 [dns.RRHeader(name, dns.CNAME, dns.IN, ttl, record, auth=True)],98 [], []))99 100 94 value = invirt.database.Machine.query().filter_by(name=host).first() 101 95 if value is None or not value.nics:
Note: See TracChangeset
for help on using the changeset viewer.