Hi there,
Jonathan Hoppe already reported this and it's fixed in the upcoming
release, I forgot to send
patches your way as well, my bad. So here they are, both for QNAME
case insensitivity
and name compression.
Best,
Marek
On 26 December 2013 12:31, Anand Buddhdev <anandb(a)ripe.net> wrote:
I exposed Knot 1.4.0-rc2 to real queries, and noticed
it was giving
REFUSED responses for a significant number of queries. Digging further,
it looks like the QNAMEs were mixed-case, such as:
42.234.11.86.In-adDR.ArPA
So here's where I discovered a show-stopper bug:
# dig +norec @193.0.9.5 ptr 42.234.11.86.in-addr.arpa
; <<>> DiG 9.9.4-P1 <<>> +norec @193.0.9.5 ptr
42.234.11.86.in-addr.arpa
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16021
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 4, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;42.234.11.86.in-addr.arpa. IN PTR
;; AUTHORITY SECTION:
234.11.86.in-addr.arpa. 86400 IN NS
ns1.virginmedia.net.
234.11.86.in-addr.arpa. 86400 IN NS
ns2.virginmedia.net.
234.11.86.in-addr.arpa. 86400 IN NS
ns3.virginmedia.net.
234.11.86.in-addr.arpa. 86400 IN NS
ns4.virginmedia.net.
# dig +norec @193.0.9.5 ptr 42.234.11.86.In-adDR.ArPA
; <<>> DiG 9.9.4-P1 <<>> +norec @193.0.9.5 ptr
42.234.11.86.In-adDR.ArPA
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 57269
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;42.234.11.86.In-adDR.ArPA. IN PTR
# dig +norec @193.0.9.5 ptr 42.234.11.86.IN-ADDR.ARPA
; <<>> DiG 9.9.4-P1 <<>> +norec @193.0.9.5 ptr
42.234.11.86.IN-ADDR.ARPA
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 18592
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;42.234.11.86.IN-ADDR.ARPA. IN PTR
_______________________________________________
knot-dns-users mailing list
knot-dns-users(a)lists.nic.cz
https://lists.nic.cz/cgi-bin/mailman/listinfo/knot-dns-users