make dns interface bind to 127.0.0.1
@@ -725,7 +725,7 @@ void dns_setup( void ) {
}
}
- g_sock4 = net_bind( "DNS", "0.0.0.0", gconf->dns_port, NULL, IPPROTO_UDP, AF_UNSPEC );
+ g_sock4 = net_bind( "DNS", "127.0.0.1", gconf->dns_port, NULL, IPPROTO_UDP, AF_UNSPEC );
net_add_handler( g_sock4, &dns_handler );
g_sock6 = net_bind( "DNS", "::1", gconf->dns_port, NULL, IPPROTO_UDP, AF_UNSPEC );
