Avatar of Goutham
GouthamFlag for India

asked on 

dns for mail server

Dear Experts:

Iam in process of configuring the split dns for the zimbra mail server which is behind the firewall, as of now we have outsourced the mail services for which the relay server (fetch mails) is placed in the office (LAN) now we have decided to configure the mail server in the LAN for the same domain.

For this i have taken the step of adding the IP address (public ip ) in the domain control panel for the MX record and set the value higher than the existing.
Now i will not able to install the server as mail.abc.com as it is already there and do not want to disturb hence installed mail server as srv1.abc.com and about to configure the split dns here i have doubts mentioned below:
1. while configuring the split dns in the hosts file of the new mail server what should i give
127.0.0.1            localhost.localdomain   localhost
192.168.1.250      srv1.abc.com       mail        
                 OR
192.168.1.250       srv1.abc.com       srv1

2. created  file /etc/bind/db.abc.com

;
; BIND data file for abc.com
;
$TTL    604800
@       IN      SOA     mail OR srv1.abc.com. admin.abc.com. (
                         070725         ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
;
@       IN      NS      mail OR srv1
        IN      MX      10 mail OR srv1
        IN      A       192.168.1.250
mail or srv1    IN      A      192.168.1.250

------------------------------------
please suggest me in the above whether it should be mail OR srv1




DNS

Avatar of undefined
Last Comment
Goutham
ASKER CERTIFIED SOLUTION
Avatar of Frabble
Frabble
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Goutham
Goutham
Flag of India image

ASKER

Sir, Thanks for the reply, It is very much clear with zimbra if it was first implementation in my case already the relay server for the same domain is installed and configured for mail.abc.com as we decided to configure the mail server hence installed the server as srv1.abc.com and in the zone files i have donel like the below

/etc/bind/db.abc.com
; BIND data file for mydomain.com
;
$TTL    604800
@       IN      SOA     srv1.abc.com. root.abc.com. (
                         2011051700         ; Serial
                         604800         ; Refresh
                          86400         ; Retry
                        2419200         ; Expire
                         604800 )       ; Negative Cache TTL
;
@               IN      NS      srv1
                IN      MX      20 srv1
                IN      A       192.168.1.230
srv1      IN     A       192.168.1.230

Please suggest me is this correct.
DNS
DNS

The Domain Name System (DNS) is a hierarchical, globally distributed system responsible for associating the name of a computer, service or other resource into an IP address for connecting to the Internet or a private network. Most prominently, it translates domain names to the numerical IP addresses needed for the purpose of computer services and devices worldwide.

29K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo