Current time: 12-26-2024, 06:40 PM Hello There, Guest! (LoginRegister)


Post Reply 
Setting up mail with external dns
Author Message
Haros Offline
Junior Member
*

Posts: 36
Joined: Sep 2010
Reputation: 0
Post: #1
Setting up mail with external dns
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.
11-24-2012 10:43 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Setting up mail with external dns
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
11-25-2012 08:02 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Haros Offline
Junior Member
*

Posts: 36
Joined: Sep 2010
Reputation: 0
Post: #3
RE: Setting up mail with external dns
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 =
12-04-2012 07:55 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: Setting up mail with external dns
CMD_NAMED = no


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

/J
(This post was last modified: 12-04-2012 10:38 AM by joximu.)
12-04-2012 10:38 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Haros Offline
Junior Member
*

Posts: 36
Joined: Sep 2010
Reputation: 0
Post: #5
RE: Setting up mail with external dns
Thank you very much joximu =)
12-07-2012 09:00 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)