Solved

virual host and MX record

Posted on 2003-11-04
2
276 Views
Last Modified: 2013-12-16
Hi

I have four virtual hosts on my lynix machine. this machine is also DNS server.
and mail server. All four work with same mail server. I want to change one of them so the mail server be some other remote machine [exchange]

How should I set up MX record.

 NS      ns.mainhost.com.
 NS      ns2.mainhost.com.
 MX    10      servername.mainhost.com.

mainhost.com.        A       123.129.197.789

www             CNAME   mainhost.com.
ftp             CNAME   mainhost.com.
mail            CNAME   mainhost.com.
servername        A       123.129.197.456
*               A       123.129.197.789


############
and the host2's zone file that I want to change is like this

 NS      ns.mainhost.com.
 NS      ns2.mainhost.com.

*               A       123.129.203.123
host2.com.        A       123.129.203.123
www             CNAME   host2.com.
ftp             CNAME   host2.com.
mail            CNAME   host2.com.


so how I can change host2's zone file so its website be same on 123.129.203.123 and its user@host2.com email and mail server be somewhere else, like point to 66.23.23.14

Thanks
Nav
0
Comment
Question by:Nav444
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 30 total points
ID: 9683511
Simple. In the zone file for host2.com include an MX record pointing to the mail server you want to be authoritative for that domain.
0
 

Expert Comment

by:DevZer0
ID: 9717962

host2.com.   MX      66.23.23.14


0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
digital ocean web console access ? does it use port 22 4 112
CLI command keep running after close 7 73
Samba 4, Users Permission, 5 112
Krita v3 Linux Mint/Ubuntu 16.04 9 75
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Fine Tune your automatic Updates for Ubuntu / Debian
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question