DNS.Query (dns v2.4.0)
View Source
Struct definition for serializing and parsing DNS query.
Converts a :dns_query
record into a DNS.Query
.
Converts a DNS.Query
struct to a :dns_query
record.
Specs
t() :: %DNS.Query{
class: term(),
domain: term(),
type: term(),
unicast_response: term()
}
Converts a :dns_query
record into a DNS.Query
.
Converts a DNS.Query
struct to a :dns_query
record.