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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.