- Program: dnsdist
- Issue type: Feature request
Short description
SpoofRawAction can be used to spoof responses to NS queries, but glue cannot be included. It would nice to have a way to add glue (e.g., via a method of the DNSQuestion object that allows putting things into the additional section).
Usecase
This is about a spoofing experiment.
Description
For example:
DNSQuestion:addAnswer(rawRData: string, options: table)
DNSQuestion:addAdditional(rawRData: string, options: table)
... used as follows:
dq.addAnswer("\003aaa\004bbbb", { type=DNSQType.TXT, ttl=3600 })
dq.addAnswer("\003ccc", { type=DNSQType.TXT, ttl=3600 })
dq.addAdditional("\001\002\003\004", { type=DNSQType.A, ttl=3600 })
dq.addAdditional("\001\002\003\004\001\002\003\004\001\002\003\004\001\002\003\004", { type=DNSQType.AAAA, ttl=3600 })
... where the owner would be set to the qname.
Short description
SpoofRawAction can be used to spoof responses to NS queries, but glue cannot be included. It would nice to have a way to add glue (e.g., via a method of the DNSQuestion object that allows putting things into the additional section).
Usecase
This is about a spoofing experiment.
Description
For example:
... used as follows:
... where the owner would be set to the qname.