Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Structs DnsRfc1035QueryConfig

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module juptune.dns.clients.rfc1035;

struct DnsRfc1035QueryConfig
{
    /++ VARIABLES ++/
    
    /// Force the use of TCP, completely skipping UDP. 
    bool forceTcp;
    /// Timeout to use when sending and reading data via TCP. 
    Duration tcpTimeout;
    /// The amount of times to try querying DNS via UDP. After this many attempts have failed, a single TCP attempt is made. 
    uint udpRetries;
    /// Timeout to use when sending and reading data via UDP. 
    Duration udpTimeout;
}

Documentation

Config for performing a DNS query using dnsQueryRfc1035.

Variables

Name Description
forceTcp

Force the use of TCP, completely skipping UDP.

tcpTimeout

Timeout to use when sending and reading data via TCP.

udpRetries

The amount of times to try querying DNS via UDP. After this many attempts have failed, a single TCP attempt is made.

udpTimeout

Timeout to use when sending and reading data via UDP.