Solved

virual host and MX record

Posted on 2003-11-04
2
273 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
2 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 30 total points
Comment Utility
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
Comment Utility

host2.com.   MX      66.23.23.14


0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

728 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now