And add some docs.
}
if(vars.count("addXPF")) {
- ret->xpfOptionCode=std::stoi(boost::get<string>(vars["addXPF"]));
+ ret->xpfRRCode=std::stoi(boost::get<string>(vars["addXPF"]));
}
if(vars.count("maxCheckFailures")) {
break;
}
- if (dq.addXPF && ds->xpfOptionCode != 0) {
- addXPF(dq, ds->xpfOptionCode);
+ if (dq.addXPF && ds->xpfRRCode != 0) {
+ addXPF(dq, ds->xpfRRCode);
}
int dsock = -1;
return;
}
- if (dq.addXPF && ss->xpfOptionCode != 0) {
- addXPF(dq, ss->xpfOptionCode);
+ if (dq.addXPF && ss->xpfRRCode != 0) {
+ addXPF(dq, ss->xpfRRCode);
}
ss->queries++;
int tcpSendTimeout{30};
unsigned int sourceItf{0};
uint16_t retries{5};
- uint16_t xpfOptionCode{0};
+ uint16_t xpfRRCode{0};
uint8_t currentCheckFailures{0};
uint8_t maxCheckFailures{1};
StopWatch sw;
-- "interface name", e.g. "eth0"
-- "address@interface", e.g. "192.0.2.2@eth0"
addXPF=NUM -- Add the client's IP address and port to the query, along with the original destination address and port,
- -- using the experimental XPF record from `draft-bellis-dnsop-xpf` and the specified option code. Default is disabled (0)
+ -- using the experimental XPF record from `draft-bellis-dnsop-xpf <https://datatracker.ietf.org/doc/draft-bellis-dnsop-xpf/>`_ and the specified option code. Default is disabled (0)
})
:param str server_string: A simple IP:PORT string.