View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-18-2007, 03:59 PM   #1
LQ Newbie
Registered: Feb 2007
Posts: 13

Rep: Reputation: 0
Email configuration -CNAME records - on server


I have customer which site domain*.net (e) is hosted on my server.

domain*.com is his site too, (but is hosted by another hoster) and as *.com is operational site, he ask me to set for domain*.net records of domain*.com

so just now records for domain*.net are:

domain*.net - 14400 in A - IP of second hoster
localhost.domain*.net -1440 in A -
domain*.net 14400 ub MX - 0
www -14400 in CNAME - domain*.com
FTP -14400 in A - IP of second hoster

everything works nice, untill my client need to setup emails on this domain - domain*.net

i setup emails via cpanel, but if client try to connect via mail program (f.e. outlook express), he got an error. [as mail program try to connect to domain*.net which is pointed to domain*.com]

so my question is, is there any way, to change (add) any record, and as result have working emails on domain*.net ?

P.s. As i know, i must setup A or CNAME records of "mail" to my ip of domain*.net

pls correct me, if i'm wrong ?

any advice will be appreciated

P.p.s. try to setup IP of as pop3 and smtp mailservers, but
some messages are bounced with such error

Delivery to the following recipient has been delayed:

Message will be retried for 2 more day(s)

Technical details of temporary failure:
TEMP_FAILURE: Could not initiate SMTP conversation with any hosts:
[ (0): Connection timed out]
[ (10): Connection timed out]
Old 10-19-2007, 09:17 AM   #2
Registered: Dec 2001
Location: ./
Distribution: Fedora, CentOS, RHEL, Gentoo
Posts: 167

Rep: Reputation: 34
You shouldn't be using CNAME records. Rather than pick apart your zone file (of which you should have posted the whole thing) that same zone could be written as such:
$TTL 86400
@       IN      SOA (
                2006012201 ; serial
                7200 ; refresh
                1800 ; retry
                1209600 ; expire
                86400 ; ttl

; name servers
                IN      NS
                IN      NS

; mail servers (FQDNs here)
@               IN      MX      1
@               IN      MX      20
; proper SPF record
                IN      TXT     "v=spf1 A MX -ALL"

; need both of these defined for compatibility
; with various clients
@               IN      A
*               IN      A

; start matching subdomains to ip addresses
www          IN      A
mail         IN      A
mail2        IN      A
ftp          IN      A
localhost    IN      A
All you're doing here is assigning (for example) to, to and so on.
Old 10-19-2007, 09:18 AM   #3
Registered: Jul 2007
Posts: 30

Rep: Reputation: 15
YOu are missing a MX Record.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind DNS Server - answer a few records for another domain? humbletech99 Linux - Server 15 06-21-2010 03:15 AM
Migrating from Lotus Domino Email Server 6.5 to Linux email Server sailu_mvn Linux - Software 0 08-23-2006 12:04 AM
Do we really need CNAME records in DNS? ivj Linux - Networking 3 05-19-2006 04:49 PM
Adding 'static' records to a Cacheing only DNS server? Paul_Randle Linux - Networking 3 08-19-2005 08:18 AM
Multiple Users accessing the same Email records Gomi Linux - Newbie 1 02-03-2004 01:13 AM

All times are GMT -5. The time now is 11:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration