Can someone please help me with a DNS issue?

jim.thornton

Verified User
Joined
Jan 1, 2008
Messages
334
Here is my setup:

Server 1 - VPS: DirectAdmin (remote server)

Server 2 - LOCAL: Ubuntu 10.04-LTS (with Webmin)

I'm currently trying to setup a mail server on Server 2. I will be running Zimbra, and while I know that will not work with DA, I'm fine with that.

The problem I'm having is creating the DNS records and zones. I'm not fully sure on what to setup.

Here is what I have:
1. Domain name is pointing to server 1 (DA)
2. The "mail" A record was deleted and a new one was inserted pointing it to server 2 (local) -- I have a dedicated IP.
3. In webmin, on server 2, I created a SLAVE zone.

I then tried clicking the TEST TRANSFER button within webmin and it failed. I then read that I needed to create a new zone on server 1 so that server 2 can transfer the information from it.

I'm a little confused and would really appreciate some help with this.
 
Why would you need to create a zone on server #1 for transfer to your local server which you're using as a slave?

What's the zone name (domain name) of the domain you're hosting on Server 1?

What is the name of the domain you're setting up as a slave on Server 2?

Why should slaving DNS have anything to do with your Zimbra install? Are you mixing two issues here, zimbra and DNS?

Jeff
 
I may be confusing two issues, I'm not sure. All I know is that in order to install Zimbra on my local machine, I have to have DNS configured and working correctly.

The reason why I have my domain pointing to my DirectAdmin server is because I ONLY want the mail.mydomain.com pointing to my Zimbra server. Everything else should be pointing to my DA server. I figured that it made more sense to have the domain point there and then point out the record for mail.

My problem is that I just don't know how to configure the DNS on the local machine properly.
 
You can run DNS anywhere you want. It does not need to be on the same server as any other services for the domain. In fact if you're having problems setting it up, perhaps you should set it up on your registrar's DNS servers, if they offer DNS services. If you want to run DNS on your local Zimbra server, then set it up there. If you don't know how to set it up there, this isn't the forum for teaching webmin DNS; in fact DirectAdmin users cannot use webmin to touch DNS on their DirectAdmin-powered servers without completely breaking DNS, so it's unlikely we're good at it.

Do you have a website for the domain on your DirectAdmin server? If so, then DirectAdmin will set up DNS for it when you set up the website. so all you should do is make the changes Zimbra requires (and I doubt we here will know what those are).

If all you want to do is allow slave transfers from your DirectAdmin server to your local Zimbra server, then just change the /etc/named.conf file on your DirectAdmin server to allow transfers to your local Zimbra server, and restart BIND on the DirectAdmin server.

Jeff
 
Back
Top