test. 500 IN SOA ns1.outside.edu. root.campus.edu. 3 6048 4000 2419200 6048
test. 500 IN NS ns1.outside.edu.
*.test. 500 IN A 1.1.1.1
For the query <a.*.test, A> Technitium returns the response as:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15038
;; flags: qr aa ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;a.*.test. IN A
;; ANSWER SECTION:
a.*.test. 500 IN A 1.1.1.1
The response should be an empty response with RCODE as NXDOMAIN. The wildcard record should not be used here. If you walk down the DNS tree, the * in the query will match with the * in the IP record as character * and you are left with label a. Since there is no a or wildcard * now, it should return an NXDOMAIN response.
Hello,
Consider the following simple zone:
For the query
<a.*.test, A>
Technitium returns the response as:The response should be an empty response with RCODE as
NXDOMAIN
. The wildcard record should not be used here. If you walk down the DNS tree, the*
in the query will match with the*
in the IP record as character*
and you are left with labela
. Since there is noa
or wildcard*
now, it should return anNXDOMAIN
response.