Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a running Debian web server with ispconfig. The problem is that whenever I make a first connection it takes about 1-2 seconds to connect, after this 1st connection everything runs smoothly.

I suspect it has something to do with the DNS configuration.

How could I troubleshoot this?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Try to lookup your server's hostname at a client and your client machine's hostname at a server. If one of two takes long to lookup then you should change that hostname or add it to the /etc/hosts.

To know hostname of the server type hostname in the command line. Then on another server type nslookup <hostname>. If you get the IP address in the command's output — hostname resolves correctly. Example:

$ nslookup

Non-authoritative answer:

If hostname cound not be resolved you'll get answer like this:

$ nslookup google.local

** server can't find google.local: NXDOMAIN
share|improve this answer
how can i do that? can you provide me the commands? thanks! –  spacebiker Dec 7 '12 at 6:52
I edited my answer, added needed information. –  Vladimir Smotesko Dec 7 '12 at 10:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.