DNS and HTTP server thread

DNS and HTTP server thread

Choosing the DNS or HTTP server thread randomly.