Udp fixes, and more dns functionality