Ethernet Library / DNS

Hello,

i have a problem connecting to a website via DNS Name.

I used this example:

byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED };
byte ip[] = { 10, 0, 0, 177 };
byte server[] = { 64, 233, 187, 99 }; // Google

Client client(server, 80);

Unfortunately my provider doesn't supports a static IP for my domain, because it shares the IP adress with lots of other domains. So far typing the IP in my browser will show a "site not found" error.

Is there a simple possibility to use something like this?

client("www.mydomain.net",80);

Thanks a lot for your help

Check out - http://www.no-ip.com/

The below site has some working DNS code.

http://gkaindl.com/software/arduino-ethernet