Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a server that has 2 domains pointing to it and

They both use the same name servers: and

When I run cat resolv.conf

This is its contents:

# Automatically generated by OnApp (2.0.rc5.i)    

What should actually be in here?


I asked this question

They told me to look at my /var/log/mail.log and that it was probably because my resolv.conf was not configured right.

In the log it says:

Feb 10 18:01:02 my-domain sm-msp-queue[7933]: unable to qualify my own domain name (my-domain) -- using short name

I think this is why the server lags for about 60 seconds every time I try to send email from PHP.

share|improve this question
What problem do you have? The IPs listed in your resolv.conf are google's public DNS servers, I don't see nothing wrong there. But I still don't get your problem/question ? – rems Feb 10 '11 at 18:10
I see no problem with the contents of your resolv.conf file, can you rephrase your question in the form of "X does not work, how can I fix it?" :-) – voretaq7 Feb 10 '11 at 18:14
@rems @voretaq7 I edited my question, is it better now? – JD Isaacks Feb 10 '11 at 18:19
up vote 2 down vote accepted

Check that you have a fully qualified name (dev-kranichs.domain.something) for in your /etc/hosts.

You should have a line looking similar to   dev-kranichs.domain.something   dev-kranichs   dev-kranichs.local   dev-kranichs

could be enough.

share|improve this answer
I have to lines in my hosts file localhost and dev-kranichs dev-kranichs. (those x's are actually numbers) The domain is actually is that what you meant by .domain.something? Also my other domain is not in there at all, shouldn't it be too? Thanks!! – JD Isaacks Feb 10 '11 at 18:37
I added both domains to and with and without .com and I restarted apache. It no longer lags when I send the email. However, I did get this error when I restarted: ` Could not reliably determine the server's fully qualified domain name, using for ServerName` Do not know what that means. – JD Isaacks Feb 10 '11 at 18:43

Those are DNS server IPs used by your server to resolve DNS names as much as I know.

share|improve this answer

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.