Configruring for DNS query
void dns_setup(int $udp_id [, string $server_addr = ""[, bool $ip6 = false]])
none
<?php
include "/lib/sn_dns.php";
dns_setup(0, "192.168.0.1"); // UDP ID 0, DNS server address is 192.168.0.1
dns_setup(1); // UDP ID 1, system DNS address will be used for the DNS server IP address
dns_setup(0, "", true); // enable IPv6
?>