Merge lp:~colin-nicholson/swift/cname_exception_bug into lp:~hudson-openstack/swift/trunk
Proposed by
Colin Nicholson
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Chuck Thier | ||||
Approved revision: | 189 | ||||
Merged at revision: | 188 | ||||
Proposed branch: | lp:~colin-nicholson/swift/cname_exception_bug | ||||
Merge into: | lp:~hudson-openstack/swift/trunk | ||||
Diff against target: |
18 lines (+2/-1) 1 file modified
swift/common/middleware/cname_lookup.py (+2/-1) |
||||
To merge this branch: | bzr merge lp:~colin-nicholson/swift/cname_exception_bug | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chuck Thier (community) | Approve | ||
John Dickinson | Approve | ||
Review via email: mp+46929@code.launchpad.net |
Description of the change
During a CNAME lookup, exception NXDOMAIN isn't caught by the check for DNSException, so need to also check for it.
To post a comment you must log in.
NXDOMAIN is raised when an IP is used as the host header. that is fixed
NoAnswer is raised if the CNAME record doesn't exist. that is fixed