My configuration says
Internal DNS client enabled: false
but I've hot the same problem. Opera ignores /etc/hosts configuration. I started experiencing this today, after upgrade to Opera 40
UPDATE: Enabling and disabling Opera Turbo helped.
Do more on the web, with a fast and secure browser!
Download Opera browser with: