I have a server that has 2 domains pointing to it domain1.com
and domain2.com
.
They both use the same name servers: dns1.vps.net
and dns2.vps.net
.
When I run cat resolv.conf
This is its contents:
# Automatically generated by OnApp (2.0.rc5.i)
domain
nameserver 8.8.8.8
nameserver 8.8.4.4
What should actually be in here?
EDIT
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.
Check that you have a fully qualified name (dev-kranichs.domain.something) for 127.0.0.1 in your /etc/hosts.
You should have a line looking similar to
could be enough.
Those are DNS server IPs used by your server to resolve DNS names as much as I know.