Description
When querying the NS record at the zone apex, Technitium returns an incorrect and nonsensical NS target (4670e52f3002.) that does not exist in the zone file. This violates DNS semantics, as the server must return the configured NS RRSet for the queried name. Other implementations (e.g., CoreDNS) correctly return the expected NS record, indicating a clear deviation in Technitium’s behavior.
Steps to Reproduce
- Configure the following zone:
campus.edu. 500 IN SOA ns1.campus.edu. hostmaster.campus.edu. 2026013101 7200 3600 1209600 3600
campus.edu. 500 IN NS ns1.campus.edu.
ns1.campus.edu. 500 IN A 192.0.2.53
ns1.campus.edu. 500 IN AAAA 2001:db8::53
campus.edu. 500 IN A 192.0.2.10
campus.edu. 500 IN RRSIG A 13 2 500 20300101000000 20260101000000 12345 campus.edu. FAKEA==
campus.edu. 500 IN DNSKEY 257 3 13 AwEAAc...
campus.edu. 500 IN MX 10 mail.campus.edu.
mail.campus.edu. 500 IN A 192.0.2.25
mail.campus.edu. 500 IN AAAA 2001:db8::25
mail.campus.edu. 500 IN RRSIG A 13 3 500 20300101000000 20260101000000 12345 campus.edu. FAKEA==
mail.campus.edu. 500 IN RRSIG AAAA 13 3 500 20300101000000 20260101000000 12345 campus.edu. FAKEA==
alias.campus.edu. 500 IN CNAME target.campus.edu.
target.campus.edu. 500 IN A 192.0.2.88
child.campus.edu. 500 IN NS ns1.child.campus.edu.
ns1.child.campus.edu. 5 IN A 192.0.2.100
ns1.child.campus.edu. 5 IN AAAA 2001:db8::100
child.campus.edu. 500 IN DS 12345 13 2 ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789
dname.campus.edu. 500 IN DNAME redirected.campus.edu.
x.redirected.campus.edu. 500 IN A 192.0.2.200
_sip._tcp.campus.edu. 500 IN SRV 0 5 5060 sipserver.campus.edu.
sipserver.campus.edu. 500 IN A 192.0.2.60
sipserver.campus.edu. 500 IN AAAA 2001:db8::60
- Query:
- Name:
campus.edu.
- Type:
NS
Buggy Behavior
Technitium returns:
rcode NOERROR
- An NS record with target
4670e52f3002.
This target does not exist in the zone and is not configured, indicating incorrect or corrupted response generation.
Expected Behavior
The server should return:
rcode NOERROR
- The correct NS RRSet:
Description
When querying the NS record at the zone apex, Technitium returns an incorrect and nonsensical NS target (
4670e52f3002.) that does not exist in the zone file. This violates DNS semantics, as the server must return the configured NS RRSet for the queried name. Other implementations (e.g., CoreDNS) correctly return the expected NS record, indicating a clear deviation in Technitium’s behavior.Steps to Reproduce
campus.edu.NSBuggy Behavior
Technitium returns:
rcode NOERROR4670e52f3002.This target does not exist in the zone and is not configured, indicating incorrect or corrupted response generation.
Expected Behavior
The server should return:
rcode NOERROR