# Functions
GetLogger returns the logger for DNS requests and responses.
GetSession returns the DNS session stored in context.
InitializeContext adds the DNS Session to the context.
# Constants
Additional record type for DNS response messages.
Answer record type for DNS response messages.
Authority record type for DNS response messages.
# Variables
QueryTypes is a map of the DNS query type with the correspondence type in dns package.
# Structs
Logger logs the DNS request and response in a configurable file.
Record is an abstraction of a DNS records (based on dns.RR).
Session contains the information related to a DNS query and response.
Steps type is responsible to initialize the DNS client steps in godog framework.
# Type aliases
ContextKey defines a type to store the Context in context.Context.
RecordType enumerates the possible types of DNS records: answer, authority and additional records.