EtherCard webClient DNS Fail

So I've set up the ENC28j60 module and got the webclient example running good.

Problem is when I change

char website[] PROGMEM = "";

with the ip for my local server

char website[] PROGMEM = "";

I receive a dns failure.

I'm hoping this is a really simple fix but I can't for the life of me work thing one out.

Any help would be great, Thank you!

That is the correct response from a dns server for that IP address. If you use nslookup, it returns "non-existent domain".

You should use an IP rather than a dns resolution for the server.

edit: For example with the w5100 library

// this uses dns
char server[] = "";

// this does not
IPAddress server(192,168,0,92);
// and this does not
byte server[] = {192,168,0,92};