3 ms·
That's the approach I took with my DNS library (https://github.com/spc476/SPCDNS)---extract https://github.com/spc476/SPCDNS)---extract the DNS packet into a C
by spc476 10y ago
That's the approach I took with my DNS library (https://github.com/spc476/SPCDNS)---extract https://github.com/spc476/SPCDNS)---extract the DNS packet into a C structure that's easier to deal with (for instance, the A RR structure: https://github.com/spc476/SPCDNS/blob/master/src/dns.h#L270 https://github.com/spc476/SPCDNS/blob/master/src/dns.h#L270).