flightaware / scotty

A Tcl extension for building network management (SNMP, ICMP, UDP, DNS) applications
33 stars 17 forks source link

CNAME lookups broken. #4

Closed resuna closed 5 years ago

resuna commented 7 years ago

Commit https://github.com/flightaware/scotty/commit/ce2e53276beec904a8f00010960f63455d898851 broke DNS lookups that traverse a CNAME.

"For query_type=A that points to a CNAME you will get both a CNAME RR and 1+ A RRs and that test will bail out on the CNAME RR”

resuna commented 7 years ago

Response from Georg:

"The problem was a combination of the indicated lines 382-386 in tnmDns.c and the part, where the CNAME RR is originally skipped. In the new version it was instead added to the query_result.

"This is fixed, together with some other oddities in a commit I just made to my scotty repository."