4 ms·
I marked the RFC where each RR is defined (https://github.com/spc476/SPCDNS/blob/master/src/dns.h https://github.com/spc476/SPCDNS/blob/master/src/dns.h) in my
by spc476 10y ago
I marked the RFC where each RR is defined (https://github.com/spc476/SPCDNS/blob/master/src/dns.h https://github.com/spc476/SPCDNS/blob/master/src/dns.h) in my DNS decoding library (in C: https://github.com/spc476/SPCDNS https://github.com/spc476/SPCDNS). I've also referenced RFCs (in comments) in the main code (https://github.com/spc476/SPCDNS/blob/master/src/codec.c https://github.com/spc476/SPCDNS/blob/master/src/codec.c) so someone going through the code knows where to look.
And just to note: I separated the network portion from the encoder/decoder functions. It's easier to integrate that way.
- deleted 10y ago[deleted]