jung6717 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

DNS support in the Ethernet library. #243

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What change would like to see?

Support for DNS lookups in the ethernet library.

Why?

General usefulness.  

Original issue reported on code.google.com by dmel...@gmail.com on 6 May 2010 at 6:13

GoogleCodeExporter commented 8 years ago
As with DHCP in Issue #62 I would advocate making DNS support as transparent as 
possible.

For my own purposes I've added another constructor to the Client class of my 
WiFi library:

  Client(const char* domain, uint16_t port);

The constructor takes a domain specified like this:

  Client client("google.com", 80);

This approach means there is no need to specify the domain in a different 
manner.

The only negative side-effect I can forsee is that people may try to specify an 
IP address in the same manner 
but I think that just shows we should probably support that also. e.g.

  Client client("127.0.0.1", 80);

Original comment by follower@gmail.com on 7 May 2010 at 2:31

GoogleCodeExporter commented 8 years ago
It's pretty easy to do - the functionally I would like to see is the ability to 
do a lookup that returned CNAME that pointed to a A record and have this all 
correctly resolved. Support for SRV would be a very  nice bonus. I would be 
happy to help write code for this if people were going to include it. 

Original comment by cullenfl...@gmail.com on 15 Oct 2010 at 3:49

GoogleCodeExporter commented 8 years ago

Original comment by dmel...@gmail.com on 20 Dec 2010 at 3:31

GoogleCodeExporter commented 8 years ago

Original comment by dmel...@gmail.com on 5 Jan 2011 at 5:16

GoogleCodeExporter commented 8 years ago
This has been fixed for a while, thanks to Adrian.

Original comment by dmel...@gmail.com on 31 Aug 2011 at 6:56