bjarte

Member
Dec 8, 2005
17
0
151
Hi

I am hosting mail for a domain, but the domain is hosted on another mailserver. I understand that I need the zone file for the domain to make the account work, but should my zone file be a copy of the original zone file on the other server?

Are there any way to make it look up the dns info on the other server so I dont have to manage any zone file?

- Bjarte
 

aby

Well-Known Member
May 31, 2005
638
0
166
India
bjarte said:
Hi

I am hosting mail for a domain, but the domain is hosted on another mailserver. I understand that I need the zone file for the domain to make the account work, but should my zone file be a copy of the original zone file on the other server?

Are there any way to make it look up the dns info on the other server so I dont have to manage any zone file?

- Bjarte
Just change the the MX to point to your server at the main DNS. You needn't have the zone file on your server.
 

WebScHoLaR

Well-Known Member
Dec 14, 2005
510
3
168
Planet Earth
bjarte said:
Hi

I am hosting mail for a domain, but the domain is hosted on another mailserver. I understand that I need the zone file for the domain to make the account work, but should my zone file be a copy of the original zone file on the other server?

Are there any way to make it look up the dns info on the other server so I dont have to manage any zone file?

- Bjarte
If the domain is hosted on one server and you are handling the mail for the domain on another server then as aby said :
Just change the the MX to point to your server at the main DNS. You needn't have the zone file on your server.
also the domain must be removed from the /etc/localdomains and added to the /etc/remotedomains on the server where the domain is hosted.
 

bjarte

Member
Dec 8, 2005
17
0
151
I tried to remove the dns zone from an account and after that I could not find the account.
So to me it looks like cpanel is dependent on the zone file to get the email to work.

-Bjarte
 

WebScHoLaR

Well-Known Member
Dec 14, 2005
510
3
168
Planet Earth
bjarte said:
I tried to remove the dns zone from an account and after that I could not find the account.
So to me it looks like cpanel is dependent on the zone file to get the email to work.

-Bjarte

Did you removed the DNS zone file from the server where the mail is handled only or from the server where the domain is hosted?

You don't need the DNS zone file on the server where ONLY the mail is being handled BUT you must have the DNS zone file on the server where the domain is hosted if the same server is running BIND too.
 

WebScHoLaR

Well-Known Member
Dec 14, 2005
510
3
168
Planet Earth
Shekhar said:
You will just have to make the change in the zone file for MX records on the server where the site is hosted.
and have to remove the domain from the /etc/localdomains and added to the /etc/remotedomains on the server where the domain is hosted.