DNS problem

There are 2 email server
Let say there are A (True IP) and B (Virtual IP)

B can send email to A .but A can't send email to B due to Virtual IP of B
SO I hope to config the DNS so that if A send email to B,
However I fogot how to modify   DNS to achieve it?
nbaAsked:
Who is Participating?
 
jlevieConnect With a Mentor Commented:
Comment of 3 mar is the answer
0
 
jlevieCommented:
Is "B" a virtual domain? By "virtual IP" do you mean some system that has an IP alias configured on it?
0
 
logoutCommented:
Yes B is also in virtual domain.
My objective is A can't reply email to B Even B in virtual IP or domain
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
jlevieCommented:
Who maintains the master dns server for the domain? you or someone else?
0
 
logoutCommented:
I maintain the dns .
0
 
jlevieCommented:
Okay, you need to add the zone definition to your named.conf file. It'll look something like:

....
zone "virtual.com" {
        type master;
        file "virtual.zone";
};

You'll need to adjust the domain name and name to the zone file per your installtion. Then you need a zone file that would look something like:

@          IN  SOA         server.real.com. user.real.com. (
               1999072601  ; Serial
               10800       ; Refresh
               3600        ; Retry
               604800      ; Expire
               86400)      ; Minimum

           IN  NS          server.real.com.
           IN  NS          secondary.someplace.com.

virtual.com.          IN  MX  10 server.real.com.

;
;
$ORIGIN      virtual.com.
;
www          IN  A       10.0.0.1

Domain names, email address, and such need to be adjusted for your setup.

Will that do it?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.