Skip to content

Commit ed6739a

Browse files
Return should be REFUSED not NXDOMAIN for out-of-config domains
1 parent 3f88f01 commit ed6739a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymds

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def serve(udps):
9494
found = True
9595
break
9696
if not found:
97-
exception_rcode = 3
97+
exception_rcode = 5
9898
raise Exception("query is not for our domain: %s" % ".".join(question))
9999
except:
100100
if qid:

0 commit comments

Comments
 (0)