Make DNSResolver compile on FPC-Linux

Note: This code compiles, but is otherwise completely untested!!!