Ignore:
Timestamp:
Oct 31, 2008, 9:00:18 PM (16 years ago)
Author:
broder
Message:

Fix the DNS server hanging on what should have been NXDOMAINs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-dns/files/usr/sbin/invirt-dns

    r1184 r1463  
    110110                        [], []))
    111111
    112                 value = invirt.database.Machine.query().filter_by(name=host).one()
     112                value = invirt.database.Machine.query().filter_by(name=host).first()
    113113                if value is None or not value.nics:
    114114                    return defer.fail(failure.Failure(dns.AuthoritativeDomainError(name)))
Note: See TracChangeset for help on using the changeset viewer.