mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
DNS: Implement NAPTR RR support
My phone is sending NAPTR queries and we reported an unknown RR type 35 in weird.log for the response, so figured I'd just add it.
This commit is contained in:
parent
25b5cabab7
commit
4f1fc296b6
11 changed files with 121 additions and 0 deletions
|
@ -3048,6 +3048,20 @@ type dns_svcb_rr: record {
|
|||
target_name: string; ##< Target name, the hostname of the service endpoint.
|
||||
};
|
||||
|
||||
## A NAPTR record.
|
||||
##
|
||||
## See also RFC 2915 - The Naming Authority Pointer (NAPTR) DNS Resource Record.
|
||||
##
|
||||
## .. zeek:see:: dns_NAPTR_reply
|
||||
type dns_naptr_rr: record {
|
||||
order: count; ##< Order in which to process NAPTR records.
|
||||
preference: count; ##< Preference specifying processing order for *equal* :zeek:field:`dns_naptr_rr$order` fields.
|
||||
flags: string; ##< Flags to control rewriting. E.g. "u", "a", "s" or "p".
|
||||
service: string; ##< The services available down this rewrite path.
|
||||
regexp: string; ##< Substitution expression to be applied to the original query.
|
||||
replacement: string; ##< The next name to query, where the type is depending on the :zeek:field:`dns_naptr_rr$flags` field.
|
||||
};
|
||||
|
||||
# DNS answer types.
|
||||
#
|
||||
# .. zeek:see:: dns_answer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue