Simple recursive DNS server implemented in C