Changeset 1463 for trunk


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

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

Legend:

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

    r1223 r1463  
     1invirt-dns (0.0.3) unstable; urgency=low
     2
     3  * Don't hang on NXDOMAINs
     4
     5 -- Evan Broder <broder@mit.edu>  Fri, 31 Oct 2008 20:54:01 -0400
     6
    17invirt-dns (0.0.2) unstable; urgency=low
    28
  • 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.