DirectAdmin keeps sending me polite messages stating:
host.domain.com, resolves to 127.0.0.1. Please make sure that your hostname resolves to your server ip (X.X.X.X) or else your email may not work correctly.
Solution:
Create an A record for your hostname (host.domain.com.) in your DNS control panel. Point the hostname to your server's main IP address. Also check /etc/hosts to ensure that the server ip is correctly set.
/etc/hostname contains "host.domain.com"
/etc/hosts contains
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 host.domain.com localhost host
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
X.X.X.X host.domain.com
I also have an A record pointing host.domain.com to X.X.X.X.
Any ideas?
host.domain.com, resolves to 127.0.0.1. Please make sure that your hostname resolves to your server ip (X.X.X.X) or else your email may not work correctly.
Solution:
Create an A record for your hostname (host.domain.com.) in your DNS control panel. Point the hostname to your server's main IP address. Also check /etc/hosts to ensure that the server ip is correctly set.
/etc/hostname contains "host.domain.com"
/etc/hosts contains
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 host.domain.com localhost host
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
X.X.X.X host.domain.com
I also have an A record pointing host.domain.com to X.X.X.X.
Any ideas?