Results 1 to 7 of 7

Thread: [SOLVED] DNS issue on install

  1. #1
    Join Date
    Jul 2008
    Posts
    31
    Rep Power
    7

    Default [SOLVED] DNS issue on install

    I am trying to install Zimbra as a mail server as opposed to letting it run on our webserver.

    Mail server is - Ubuntu 8.04 64-bit and I'm running 5.0.7_GA_2450

    Code:
    jimmy@mail:~$ host statxxx.com
    statxxx.com has address 74.208.57.xx (webserver's IP)
    statxxx.com mail is handled by 10 mail.statxxx.com.
    
    jimmy@mail:~$ host mail.statxxx.com
    mail.statxxx.com has address 74.7.199.xx (office's static IP with ports forwarded accordingly by router)
    mail.statxxx.com mail is handled by 10 mail.statxxx.com.
    My /etc/hosts file:
    Code:
    127.0.0.1 localhost
    10.0.0.109 mail.statxxx.com mail
    (when "mail.statxxx.com" set to 127.0.0.1, it says I have an error with my hosts file).

    Here is the output from the installation/config...

    Code:
    Setting defaults...	MX: mail.statxxx.com (74.7.199.xx) # office IP
    
    	Interface: 10.0.0.109
    	Interface: 127.0.0.1
    		74.7.199.xx # office IP
    		74.7.199.xx # office IP
    
    
    DNS ERROR - none of the MX records for mail.statxxx.com
    resolve to this host
    Change domain name? [Yes] yes
    Create Domain: [mail.statsblox.com] statxxx.com
    	MX: mail.statxxx.com (74.7.199.xx) #office IP
    
    	Interface: 10.0.0.109
    	Interface: 127.0.0.1
    
    
    DNS ERROR - none of the MX records for statxxx.com
    resolve to this host
    It is suggested that the MX record resolve to this host
    Re-Enter domain name? [Yes]
    Note: I was able to get zimbra working on my local network using zimbratrial.directory.domain.com (hostname.DOMAIN) as the FQDN. I could send mail, sync with outlook, etc. So, I know the server will run it, it's just that the DNS is geeking out when trying to put it live on an actual domain.
    Last edited by juanschwartz; 07-22-2008 at 06:46 PM.

  2. #2
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    Default

    You'll need to have the MX record for your domain resolve to the hostname of your Zimbra server.

    Split DNS - Zimbra :: Wiki

  3. #3
    Join Date
    Jul 2008
    Posts
    31
    Rep Power
    7

    Default

    Quote Originally Posted by y@w View Post
    You'll need to have the MX record for your domain resolve to the hostname of your Zimbra server.

    Split DNS - Zimbra :: Wiki
    The MX record of my statxxx.com is set to 10 mail.statxxx.com which forwards to the WAN IP of my server. It resolves to the server itself that way.

    In the /etc/hosts, the mail.statxxx.com and mail are resolved to the internal IP address of my box.

    What am I missing there? I read some other posts and it said that if host -t mx domain.com returned the "mail.domain.com" and host mail.domain.com returned "WAN IP", then it should work.

  4. #4
    Join Date
    Jul 2008
    Posts
    31
    Rep Power
    7

    Default

    Quote Originally Posted by y@w View Post
    You'll need to have the MX record for your domain resolve to the hostname of your Zimbra server.

    Split DNS - Zimbra :: Wiki
    I don't understand. I thought it did.

    The statxxx.com mx record resolves to 10 mail.statxxx.com which has an A record that resolves to the WAN IP of our router(which the appropriate ports are pointing at the server). Everything resolves internally and externally.

  5. #5
    Join Date
    Jul 2008
    Posts
    31
    Rep Power
    7

    Default

    Okay, I see. The split DNS allows mail.statxxx.com to resolve to the internal IP of 10.0.0.109 just on the local box because fetchmail resolves the WAN IP instead?

  6. #6
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    Default

    Well, you want anything internal to your LAN to resolve to the internal IPs. Then you'll want anything outside your LAN to resolve to the external IPs so the firewall can forward them to the appropriate internal IPs. Does that explanation help?

  7. #7
    Join Date
    Jul 2008
    Posts
    31
    Rep Power
    7

    Default

    Absolutely. I wasn't considering the firewall portion. I got it up and going.

    If you don't mind answering another question... if my domain is mail.statxxx.com and the emails are setup that way, can I just add a domain of statxxx.com to get simple email addys?

    edit: I just tried the above and it seems to work okay. Thank you so much! Now to show my boss the awesomeness and get a license purchase going

Similar Threads

  1. Replies: 21
    Last Post: 09-27-2007, 11:49 AM
  2. Replies: 5
    Last Post: 06-14-2007, 10:14 PM
  3. dns issue with suse 10.2 and issue with bind
    By zjustin in forum Installation
    Replies: 11
    Last Post: 05-06-2007, 11:18 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •