Ticket #1889 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

DNS parser returns error on parsing RR type OPT

Reported by: nanang Owned by: bennylp
Priority: normal Milestone: release-2.5
Component: pjlib-util Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

Currently DNS parser assumes DNS RR format always has field 'class' (and the parser will return error if the class is not 'IN'), while apparently DNS RR type OPT doesn't have field 'class'.

Thanks Thomas Connors for the report.

Change History

comment:1 Changed 2 years ago by nanang

  • Status changed from new to closed
  • Resolution set to fixed

In 5183:

Fix #1889: DNS parser should return error on RR class != IN only when RR type is known.

Note: See TracTickets for help on using tickets.