Results 1 to 9 of 9

Thread: Installation Hostname and IP Address

  1. #1
    Join Date
    Apr 2006
    Posts
    76
    Rep Power
    9

    Default Installation Hostname and IP Address

    I'm trying to set up a new machine with Zimbra 3.1 on SUSE Linux. During the installation process I get a warning that my host isn't resolvable to a DNS MX record.

    Being new to all this, I ask your patience.

    If the DNS entry for my MX record is mail.companyname.com with an IP of 204.68.221.1 (for example), does that mean that I must name my Linux box mail.companyname.com with an IP of 204.68.221.1?

    Right now the IP address of my DSL router is the 204.68.221.1. Can't the IP of my Zimbra server be something else (e.g., 192.168.2.100)?

    I'm not running my own DNS. I've entered the address of my ISP's DNS server in the configuration on Suse.

    So, can I just ignore the warning or do I need to address it?

    Thanks!

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Hi

    Welcome to the forums.

    Yoo can't ignore this error, you'll need to address it I'm afraid.

    If you intend to have a mail server visible to the world and if you're going to have your DNS records hosted outside your LAN then you'll need the correct ports forwarded through the router and you'll need a local DNS server set-up as 'split DNS'.

    If you have a domain name then it will point to your IP address and each of the PCs on the LAN will need a 'name' (they probably have already but let's say 'mail' for the zimbra PC), the zimbra would then be mail.domainname.com

    You'll need to check that your /etc/hosts file is set-up correctly and the hostname for the zimbra PC can be resolved via DNS. When you've done all that you should install Zimbra, that should see you right. In (very) simple terms, that's all there is to it.

    Having said all that if you're just testing zimbra and you don't have a registered domain name and the server won't be accepting any connections from the internet then it's slight more simple to setup. You'll still need a hostname for the zimbra PC and you'll still need a locan DNS server. You can find a DNS 'how to' here and apart from that there isn't much to it.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Apr 2006
    Posts
    76
    Rep Power
    9

    Default Installation Hostname and IP Address

    First of all, thank you for taking the time to address my question.

    So a local DNS server is a requirement if I'm to send and receive messages external to my LAN?

    Currently I'm running Exchange with no local DNS. I have port 25 on my router directed to my Exchange box. My Exchange machine has a local IP address (e.g., 192.168.2.10).

    I must plead ignorance. I thought this would work the same for Zimbra or any other mail server for that matter. Am I simply wrong?

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    You might not be wrong. It depends on whether you have a registered domain name and whether you're on a fixed IP and whether you want inbound mail delivered directly to your server and whether you want outbound mail delivered directly or relayed through ISP. Tell me those answers and I can point you in the right direction.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    Join Date
    Apr 2006
    Posts
    76
    Rep Power
    9

    Default Installation Hostname and IP Address

    I do have a registered domain name and a static IP address.

    Currently I have inbound mail delivered directly to my server. That is, I forward port 25 traffic to my Exchange box.

    Right now I'm not doing any sort of relaying through my ISP. I'm mearly using their DNS server addresses as though they were my own. But I have no problem relaying through them if that will make things easier for me.

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    OK, I wasn't sure from your first post what your set-up was exactly.

    In that case you need your Zimbra PC to have a FQDN, you'll need to set-up a local DNS server otherwise any mail you send to yourself won't arrive because it's not doing a DNS lookup correctly - that will need to be a split DNS setup. The hosts file will need your local fixed IP address and your firewall will need the relevant ports forwarded to the zimbra box. IIRC, Exchange doesn't send internal mail via a DNS lookup but a proper mail server should.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    Join Date
    Apr 2006
    Posts
    76
    Rep Power
    9

    Default Installation Hostname and IP Address

    Okay...So my hosts file should look something like:

    127.0.0.1 localhost
    192.168.2.10 mail.mydomainname.com mail

    May I ask you...Can I run a DNS service on the Zimbra machine or does it require a dedicated server?

    I will search for previous posts on setting a split DNS setup. So, I'll try to take a stab at it myself before posting any questions as to HOW-TO.

    Thanks

  8. #8
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    That's almost right for the hosts file, it should read:

    127.0.0.1 localhost.localdomain localhost

    the second line you have is correct.

    Split DNS should be fairly simple to set-up, a 'straight' DNS set-up can be found in the 'DNS in a Nutshell' post but I don't think there's a how-to on split DNS in the forums. I think there is a link to a google search somewhere on the forums. Have a look around and if you have any problems post again.

    Yes, you can run a DNS server on the Zimbra host.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    Join Date
    Apr 2006
    Posts
    76
    Rep Power
    9

    Default Installation Hostname and IP Address

    I appreciate the help. It will probably be next week before I have a chance to work on it though. I've got to be getting back to my day job.

    Thanks!

Similar Threads

  1. I got Ubuntu and Zimbra working
    By pacsteel in forum Installation
    Replies: 73
    Last Post: 06-23-2008, 11:41 AM
  2. Change hostname and IP Address!
    By celeron in forum Administrators
    Replies: 6
    Last Post: 07-15-2007, 09:27 PM
  3. ldap address during installation
    By Bingo in forum Installation
    Replies: 3
    Last Post: 06-21-2006, 10:32 AM
  4. Replies: 1
    Last Post: 04-13-2006, 04:47 PM
  5. changing hostname and ip address of zimbra server
    By illscientific in forum Administrators
    Replies: 1
    Last Post: 11-22-2005, 07:08 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
  •