Quote:
I think the problem is connected to reverse DNS lookup and wondered if there was any way to switch off dns and use static routing
|
That's exactly what you just did - you created a static entry in /etc/hosts and that overrides DNS. You've already solved your problem.
Routing is a completely different thing and using the route command won't help you in this case. Routing doesn't translate host/domain names to IP addresses, it specifies where packets destined for particular networks should be directed.