MaddieM4 / pymads

A fork of the pymds authoritative DNS server, designed for asynchronous lookup without domain restrictions.
GNU Lesser General Public License v3.0
4 stars 2 forks source link

Recursive query should return NXDOMAIN when remote server sends NXDOMAIN #32

Open MaddieM4 opened 11 years ago

MaddieM4 commented 11 years ago

Generally, any sort of error from upstream remote should result in SERVFAIL for the downstream reply. But the one notable exception to this, is NXDOMAIN. When upstream sends an NXDOMAIN, we should raise an NXDOMAIN for downstream.

MaddieM4 commented 11 years ago

Bounty is $10.

http://www.freedomsponsors.org/core/issue/297/recursive-query-should-return-nxdomain-when-remote-server-sends-nxdomain


(Copied from acceptance criteria)

If remote server responds with NXDOMAIN, raise an NXDOMAIN DnsError instead of a SERVFAIL. Should be a very, very simple modification, I'm only making it a bounty to encourage other people to get into the project.