ispCP - Board - Support
Setting up mail with external dns - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Setting up mail with external dns (/thread-16409.html)



Setting up mail with external dns - Haros - 11-24-2012 10:43 AM

Hello,
I want to setup my servers mail but I am using an external dns. How should I setup the mx records etc?

Thanks in advance.


RE: Setting up mail with external dns - joximu - 11-25-2012 08:02 AM

I use theese entries - very simple...
Code:
@... SOA...

  1D IN NS ns1.external....
  1D IN NS ns2.external....
  1D IN MX 10 <ispcp-server-hostname>.
  1D IN TXT "v=spf1 a mx a:<ispcp-server-hostname> ~all"
  1D IN A <ispcp-server-ip>

www 1D IN CNAME <ispcp-server-hostname>.
mail   1D IN CNAME <ispcp-server-hostname>.
*      1D IN CNAME <ispcp-server-hostname>.

And disable bind on ispcp (also set bind to "no" in the ispcp config)

/J


RE: Setting up mail with external dns - Haros - 12-04-2012 07:55 AM

Thanks for the reply.

By disabling bind on ISPCP I guess you mean just stopping the service on the server (?) Also in ispcp.conf I didn't find any relevant bind entry to set to "no". Only:

#
# BIND data
#
BIND_CONF_FILE = /etc/bind/named.conf
BIND_DB_DIR = /var/cache/bind
SECONDARY_DNS =


RE: Setting up mail with external dns - joximu - 12-04-2012 10:38 AM

CMD_NAMED = no


otherwise the bind service will be started some time by ispcp...

/J


RE: Setting up mail with external dns - Haros - 12-07-2012 09:00 AM

Thank you very much joximu =)