Project

General

Profile

Actions

Feature #7017

closed

Feature #7011: DNS additional section parsing and logging

DNS add OPT rdata struct and parsing

Added by Nathan Scrivens 6 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Target version:
Effort:
low
Difficulty:
low
Label:

Description

Add struct and parsing to extract and store DNS additional section type OPT rdata.

I have a solution that adds a struct DNSRDataOPT, and a new type in enum DNSRData: OPT.
Parsing logic is also added to parser.rs that populates this data (similar to how DNSRDataSOA, SRV, SSHFP are populated).
Extracting and exposing this data allows for added logic that can reference different types of OPT rdata in the EDNS spec.

Note: this is closely related to / an extension of feature #7011.
I could easily submit this as part of 7011, but wasn't sure if you would want this as its own submission. Please advise.

Actions

Also available in: Atom PDF