Linux does DNS lookup before it looks at hosts file.

Printable View