Hello,

Since I updated my server from 8.xx to 10.04 I have irritating connection problems. The scenario is as follows:

1. I try to connect to my server through ssh but get the error message "Connection to session myserver failed: Hostname lookup failed". Similar problems when I try to ping the server.
2. After a while, say 20 minutes, I try again and now the ssh connection succeedes and everything seems fine. Ping also works well.
3. After a while, say 20 minutes, I want to do a second ssh connection but it fails like my first try, but the first connection is still active and works well.

I tried to use a network cable instead of my wireless adapter but the problem was still there. The server do not have any problems in, for example, browsing the web.

What is the problem?

I hope for an answer to my question!

Regards,
Fredrik Emilsson