Changeset 1478 for trunk/packages


Ignore:
Timestamp:
Nov 1, 2008, 1:55:22 AM (16 years ago)
Author:
broder
Message:

Punt the passup option from the DNS since the zone file can be used
for the same thing

Location:
trunk/packages/invirt-dns
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-dns/debian/changelog

    r1477 r1478  
    33  * Instead of hacking in support for prod.xvm.mit.edu, support zone files
    44    that override the database
     5  * Punt passup option as it can be handled by the zone file
    56
    6  -- Evan Broder <broder@mit.edu>  Sat, 01 Nov 2008 00:48:53 -0400
     7 -- Evan Broder <broder@mit.edu>  Sat, 01 Nov 2008 01:05:57 -0400
    78
    89invirt-dns (0.0.4) unstable; urgency=low
  • trunk/packages/invirt-dns/invirt-dns

    r1477 r1478  
    9292                                                ttl, self.soa, auth=True))
    9393            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 
    10094                value = invirt.database.Machine.query().filter_by(name=host).first()
    10195                if value is None or not value.nics:
Note: See TracChangeset for help on using the changeset viewer.