Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 46

Thread: configuring multiple domains on a single server

  1. #31
    soxfan is offline Moderator
    Join Date
    Mar 2006
    Location
    Massachusetts
    Posts
    965
    Rep Power
    10

    Default

    // We are the master server for mail.forexmgr.com
    zone "mail.forexmgr.com.com" {
    type master;
    file "db.mail.forexmgr.com";
    };
    mail.forexmgr.com.com??? Shouldn't it just be mail.forexmgr.com?

  2. #32
    forexmgr is offline Active Member
    Join Date
    Mar 2007
    Posts
    29
    Rep Power
    8

    Default

    That would be one issue SoxFan - thanks - I'll make the change.

    Bill, realized I didn't answer one of your questions earlier. I don't have zimbra reinstalled yet - I wanted to ensure that the DNS was correct so I won't get the MX error when I run the setup

  3. #33
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,581
    Rep Power
    57

    Default

    Make that change and restart bind foe it to take effect. When you've done that try these on the Zimbra server:

    Code:
    host `hostname`
    dig forexmgr.com any
    dig forexmgr.com mx
    and see if they return the details of your Zimbra server.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  4. #34
    forexmgr is offline Active Member
    Join Date
    Mar 2007
    Posts
    29
    Rep Power
    8

    Default

    1. host `hostname`

    Host mail not found: 3(NXDOMAIN)

    2. dig forexmgr.com any

    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2261
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 13, ADDITIONAL: 13

    ;; QUESTION SECTION:
    ;forexmgr.com. IN ANY

    ;; ANSWER SECTION:
    forexmgr.com. 806 IN MX 5 mail.forexmgr.com.

    ;; AUTHORITY SECTION:
    com. 80344 IN NS i.gtld-servers.net.
    com. 80344 IN NS j.gtld-servers.net.
    com. 80344 IN NS k.gtld-servers.net.
    com. 80344 IN NS l.gtld-servers.net.
    com. 80344 IN NS m.gtld-servers.net.
    com. 80344 IN NS a.gtld-servers.net.
    com. 80344 IN NS b.gtld-servers.net.
    com. 80344 IN NS c.gtld-servers.net.
    com. 80344 IN NS d.gtld-servers.net.
    com. 80344 IN NS e.gtld-servers.net.
    com. 80344 IN NS f.gtld-servers.net.
    com. 80344 IN NS g.gtld-servers.net.
    com. 80344 IN NS h.gtld-servers.net.

    ;; ADDITIONAL SECTION:
    a.gtld-servers.net. 163699 IN A 192.5.6.30
    a.gtld-servers.net. 167994 IN AAAA 2001:503:a83e::2:30
    b.gtld-servers.net. 163699 IN A 192.33.14.30
    b.gtld-servers.net. 167994 IN AAAA 2001:503:231d::2:30
    c.gtld-servers.net. 18447 IN A 192.26.92.30
    d.gtld-servers.net. 163699 IN A 192.31.80.30
    e.gtld-servers.net. 163699 IN A 192.12.94.30
    f.gtld-servers.net. 163699 IN A 192.35.51.30
    g.gtld-servers.net. 163699 IN A 192.42.93.30
    h.gtld-servers.net. 163699 IN A 192.54.112.30
    i.gtld-servers.net. 163699 IN A 192.43.172.30
    j.gtld-servers.net. 163699 IN A 192.48.79.30
    k.gtld-servers.net. 163699 IN A 192.52.178.30

    ;; Query time: 0 msec
    ;; SERVER: 192.168.1.15#53(192.168.1.15)
    ;; WHEN: Mon Apr 16 10:32:58 2007
    ;; MSG SIZE rcvd: 507

    3. dig forexmgr.com mx

    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35738
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 13, ADDITIONAL: 13

    ;; QUESTION SECTION:
    ;forexmgr.com. IN MX

    ;; ANSWER SECTION:
    forexmgr.com. 781 IN MX 5 mail.forexmgr.com.

    ;; AUTHORITY SECTION:
    com. 80319 IN NS g.gtld-servers.net.
    com. 80319 IN NS h.gtld-servers.net.
    com. 80319 IN NS i.gtld-servers.net.
    com. 80319 IN NS j.gtld-servers.net.
    com. 80319 IN NS k.gtld-servers.net.
    com. 80319 IN NS l.gtld-servers.net.
    com. 80319 IN NS m.gtld-servers.net.
    com. 80319 IN NS a.gtld-servers.net.
    com. 80319 IN NS b.gtld-servers.net.
    com. 80319 IN NS c.gtld-servers.net.
    com. 80319 IN NS d.gtld-servers.net.
    com. 80319 IN NS e.gtld-servers.net.
    com. 80319 IN NS f.gtld-servers.net.

    ;; ADDITIONAL SECTION:
    a.gtld-servers.net. 163674 IN A 192.5.6.30
    a.gtld-servers.net. 167969 IN AAAA 2001:503:a83e::2:30
    b.gtld-servers.net. 163674 IN A 192.33.14.30
    b.gtld-servers.net. 167969 IN AAAA 2001:503:231d::2:30
    c.gtld-servers.net. 18422 IN A 192.26.92.30
    d.gtld-servers.net. 163674 IN A 192.31.80.30
    e.gtld-servers.net. 163674 IN A 192.12.94.30
    f.gtld-servers.net. 163674 IN A 192.35.51.30
    g.gtld-servers.net. 163674 IN A 192.42.93.30
    h.gtld-servers.net. 163674 IN A 192.54.112.30
    i.gtld-servers.net. 163674 IN A 192.43.172.30
    j.gtld-servers.net. 163674 IN A 192.48.79.30
    k.gtld-servers.net. 163674 IN A 192.52.178.30

    ;; Query time: 1 msec
    ;; SERVER: 192.168.1.15#53(192.168.1.15)
    ;; WHEN: Mon Apr 16 10:33:23 2007
    ;; MSG SIZE rcvd: 507

    If I do the following

    a. dig mail.forexmgr.com any

    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 19299
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;mail.forexmgr.com. IN ANY

    ;; Query time: 0 msec
    ;; SERVER: 192.168.1.15#53(192.168.1.15)
    ;; WHEN: Mon Apr 16 10:34:18 2007
    ;; MSG SIZE rcvd: 35

    b. dig mail.forexmgr.com mx

    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 64407
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;mail.forexmgr.com. IN MX

    ;; Query time: 0 msec
    ;; SERVER: 192.168.1.15#53(192.168.1.15)
    ;; WHEN: Mon Apr 16 10:34:46 2007
    ;; MSG SIZE rcvd: 35

  5. #35
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,581
    Rep Power
    57

    Default

    OK, that answers your question - you have the domain set as mail.forexmgr.com when it should be the domain name of forexmgr.com Change the named.conf.local to have this in it:
    Code:
    // We are the master server for forexmgr.com
    zone "forexmgr.com" {
    type master;
    file "db.mail.forexmgr.com";
    };
    What's actually in named.conf?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #36
    forexmgr is offline Active Member
    Join Date
    Mar 2007
    Posts
    29
    Rep Power
    8

    Default

    named.conf is just default stuff - it tells you not to change it unless you know what you are doing, (hence the reason I left it alone)

    Here it is

    // This is the primary configuration file for the BIND DNS server named.
    //
    // Please read /usr/share/doc/bind9/README.Debian.gz for information on the
    // structure of BIND configuration files in Debian, *BEFORE* you customize
    // this configuration file.
    //
    // If you are just adding zones, please do that in /etc/bind/named.conf.local

    include "/etc/bind/named.conf.options";

    // prime the server with knowledge of the root servers
    zone "." {
    type hint;
    file "/etc/bind/db.root";
    };

    // be authoritative for the localhost forward and reverse zones, and for
    // broadcast zones as per RFC 1912

    zone "localhost" {
    type master;
    file "/etc/bind/db.local";
    };

    zone "127.in-addr.arpa" {
    type master;
    file "/etc/bind/db.127";
    };

    zone "0.in-addr.arpa" {
    type master;
    file "/etc/bind/db.0";
    };

    zone "255.in-addr.arpa" {
    type master;
    file "/etc/bind/db.255";
    };

    // zone "com" { type delegation-only; };
    // zone "net" { type delegation-only; };

    // From the release notes:
    // Because many of our users are uncomfortable receiving undelegated answers
    // from root or top level domains, other than a few for whom that behaviour
    // has been trusted and expected for quite some length of time, we have now
    // introduced the "root-delegations-only" feature which applies delegation-only
    // logic to all top level domains, and to the root domain. An exception list
    // should be specified, including "MUSEUM" and "DE", and any other top level
    // domains from whom undelegated responses are expected and trusted.
    // root-delegation-only exclude { "DE"; "MUSEUM"; };

    include "/etc/bind/named.conf.local";

    I'll make the changes and post in a moment

  7. #37
    forexmgr is offline Active Member
    Join Date
    Mar 2007
    Posts
    29
    Rep Power
    8

    Default

    Quote Originally Posted by phoenix View Post
    OK, that answers your question - you have the domain set as mail.forexmgr.com when it should be the domain name of forexmgr.com Change the named.conf.local to have this in it:
    Code:
    // We are the master server for forexmgr.com
    zone "forexmgr.com" {
    type master;
    file "db.mail.forexmgr.com";
    };
    What's actually in named.conf?
    Ok so

    1. host `hostname`

    Host mail not found: 3(NXDOMAIN)

    2. dig forexmgr.com any

    ; <<>> DiG 9.3.2 <<>> forexmgr.com any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 7530
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;forexmgr.com. IN ANY

    ;; Query time: 0 msec
    ;; SERVER: 192.168.1.15#53(192.168.1.15)
    ;; WHEN: Mon Apr 16 11:15:36 2007
    ;; MSG SIZE rcvd: 30

    Correct - Right

    3. dig forexmgr.com mx

    ; <<>> DiG 9.3.2 <<>> forexmgr.com mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 53428
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;forexmgr.com. IN MX

    ;; Query time: 0 msec
    ;; SERVER: 192.168.1.15#53(192.168.1.15)
    ;; WHEN: Mon Apr 16 11:16:13 2007
    ;; MSG SIZE rcvd: 30

    Ok so host `hostname` is still the issue

  8. #38
    forexmgr is offline Active Member
    Join Date
    Mar 2007
    Posts
    29
    Rep Power
    8

    Default

    I could be wrong but do you think I need a reverse lookup?

  9. #39
    soxfan is offline Moderator
    Join Date
    Mar 2006
    Location
    Massachusetts
    Posts
    965
    Rep Power
    10

    Default

    I could be wrong but do you think I need a reverse lookup?
    I don't think you need reverse DNS. I think your problem is within your db.mail.forexmgr.com file. Try changing the line that reads 'IN A 192.168.1.15' to 'mail A 192.158.1.15'. Once you make the change, stop and start DNS. You may also want to get the system logs for any messages related to DNS.

  10. #40
    forexmgr is offline Active Member
    Join Date
    Mar 2007
    Posts
    29
    Rep Power
    8

    Default

    Quote Originally Posted by soxfan View Post
    I don't think you need reverse DNS. I think your problem is within your db.mail.forexmgr.com file. Try changing the line that reads 'IN A 192.168.1.15' to 'mail A 192.158.1.15'. Once you make the change, stop and start DNS. You may also want to get the system logs for any messages related to DNS.
    SoxFan, are you saying my db.mail.forexmgr.com should look like this

    cat /etc/bind/db.mail.forexmgr.com

    ;
    ; Addresses and other host information.
    ;
    @ IN SOA mail.forexmgr.com. hostmaster.mail.forexmgr.com. (
    10118 ; Serial
    43200 ; Refresh
    3600 ; Retry
    3600000 ; Expire
    2592000 ) ; Minimum
    ; Define the nameservers and the mail servers
    IN NS 192.168.1.15
    mail A 192.168.1.15
    IN MX 10 mail.forexmgr.com.

Page 4 of 5 FirstFirst ... 2345 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  2. Allow single account to be domain admin over multiple domains
    By peter@mxtoolbox.com in forum Administrators
    Replies: 2
    Last Post: 03-19-2008, 12:36 PM
  3. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  4. Replies: 3
    Last Post: 06-07-2007, 07:19 AM
  5. Multiple domains, single account
    By roastpork in forum Administrators
    Replies: 1
    Last Post: 02-08-2006, 09:01 PM

Posting Permissions

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