modified by ohneta

Dependents:   HelloESP8266Interface_mine

Fork of DnsQuery by Sarah Marsh

Revision:
5:7555d509b568
Parent:
4:7e64d099f63e
--- a/DnsQuery.h	Tue Nov 10 14:37:17 2015 +0000
+++ b/DnsQuery.h	Wed Nov 11 03:39:26 2015 +0000
@@ -25,9 +25,9 @@
     /** Constructor to instantiate a DnsQuery object.
       * @param wifi : A valid pointer to a UDP socket
       */
-    DnsQuery(SocketInterface* sock,const char* hostname, char* ipaddress, const char *dnsIp = NULL);
+    DnsQuery(SocketInterface* sock,const char* hostname, char* ipaddress, const char *preferreddnsIp = NULL);
  
-    void setPreferredDNSServerIP(const char *dnsIp);  
+    void setPreferredDNSServerIP(const char *preferreddnsIp);  
 private:   
     /** Function gethostbyname implements the functionality to query a domain name server for an IP-Address of a given hostname.
       * @param hostname : the hostname of interest as a string - format must be without http:// or www. IE google.com, mbed.org, etc