lib: implement subset of getdns API
Problem
I'd like the library to be reuseable by clients. getdns is a way to do that.
Expected outcome
-
Download the latest header -
Implement simple query resolution -
Implement basic options (TCP, EDNS...) -
Implement unit tests (some possibly exist in other implementations!)