Greetings!

In any case, the fact that you are making a DNS query at all implies that your host file is not working. Otherwise your client would not be looking, from whatever source.

Are you certain the host file is working? Can you put a bogus entry (something you know does not resolve) in it, and verify that it is coming back with the host file entry?
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs