Home | History | Annotate | Download | only in net

Lines Matching refs:dns

43  * Performs a simple DNS "ping" by sending a "server status" query packet to the
44 * DNS server. As long as the server replies, we consider it a success.
73 //Invalidates old dns requests upon a cancel
79 * Async response packet for dns pings.
110 InetAddress dns;
114 dns = d;
145 InetAddress dnsAddress = dnsArg.dns;
165 // Send the DNS query
240 * Returns a list of DNS addresses, coming from either the link properties of the
241 * specified connection or the default system DNS if the link properties has no dnses.
253 loge("getDns::LinkProps has null dns - returning default");
263 * @param dns address of dns server to ping
267 public int pingDnsAsync(InetAddress dns, int timeout, int delay) {
270 new DnsArg(dns, mCurrentToken.get())), delay);
298 String dns = Settings.Global.getString(mContext.getContentResolver(),
300 if (dns == null || dns.length() == 0) {
301 dns = mContext.getResources().getString(
305 return NetworkUtils.numericToInetAddress(dns);
307 loge("getDefaultDns::malformed default dns address");
316 0, 0, // [6-7] unused count field for dns response packets
317 0, 0, // [8-9] unused count field for dns response packets
318 0, 0, // [10-11] unused count field for dns response packets