You are not logged in.
Pages: 1
I'd like making a small dns client who get the stmp server where sending the emails for any given host address.
I use res_query, domain_name is a char* to the domain name.
res_query(domain_name, C_IN, T_MX, buffer, length);
the function fill in the buffer with the server answer, but how I can interpret it?
Seeking around I understood the first 12 bytes should be interpreted using this bit field.
But what about the rest?
It is not for spamming, it is just I am studying dns.
etb
Offline
Pages: 1