A DNS resource records lookup written in C