Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: dns in multi server

  1. #1
    Join Date
    Mar 2009
    Posts
    15
    Rep Power
    6

    Default dns in multi server

    hi all

    I install mta on server A (hostname:mta; ip:10.0.8.53) and install ldap,maibox on server B (hostname:mail; ip:10.0.8.53).

    I install bind9 on server B. can you help me setup bind9.

    p/s: i readed splip dns and set up success on single server

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Welcome to the forums

    Why not just put the appropriate A records into the BIND install on server A and point server B /etc/resolv.conf at server A ?

  3. #3
    Join Date
    Mar 2009
    Posts
    15
    Rep Power
    6

    Default

    thank uxbod!

    bind install on the server A (MTA) or bind install on server B(Ldap,mailbox) ???
    I install bind on server B (LDAP,maibox),is this wrong?

    Why not just put the appropriate A records into the BIND install on server A and point server B /etc/resolv.conf at server A ?-->> can you explain more clearly ?

    thanks!

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    You can install BIND on Server B just fine; either will do. Example :-

    Domain - example.com
    Server A - 10.0.0.10 - a.example.com
    Server B - 10.0.0.20 - b.example.com

    BIND installed on Server B and with the following records :-

    IN MX 10 a.example.com.
    a IN A 10.0.0.10
    b IN A 10.0.0.20

    /etc/resolv.conf on Server A and B would be :-

    search example.com
    server 10.0.0.20

  5. #5
    Join Date
    Mar 2009
    Posts
    15
    Rep Power
    6

    Default

    hi uxbod
    My domain - vietkt.com
    Server A (MTA) - 10.0.0.1 -mta.vietkt.com
    Server B(mailbox,ldap) - 10.0.0.2 -mail.vietkt.com
    Bind installed on server B and with the following records:

    vietkt.com. IN SOA mail.vietkt.com. admin.mail.vietkt.com. (
    070725 ;serial
    604800 ;refesh
    86400 ;retry
    2419200;expire
    604800);negative cache tll
    ;
    vietkt.com. IN NS mail.vietkt.com.
    vietkt.com. IN MX 10 mail.vietkt.com.
    mail IN A 10.0.0.2
    mta IN A 10.0.0.1

    /etc/resolv.conf on Server A and B :
    search vietkt.com
    nameserver 10.0.0.2

    When i send a mail,the error :

    A network service error has occurred.
    method: SendMsgRequest
    msg: system failure: MessagingException
    code: service.FAILURE
    detail: soap:Receiver
    trace: btpool0-8:1238670472748:e33b8e87e22bd51d

    pl help me! thanks a lot

  6. #6
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    From each server please post the following information
    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig yourdomain mx
    dig yourdomain any
    host `hostname` <- note backticks and not single quotes

  7. #7
    Join Date
    Mar 2009
    Posts
    15
    Rep Power
    6

    Default

    Hi you !
    Server A (MTA) -10.0.0.1

    vikjava@mta:~$ cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    10.0.0.1 mta.vietkt.com mta

    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts

    vikjava@mta:~$ cat /etc/resolv.conf
    search vietkt.com
    nameserver 10.0.0.2


    ; <<>> DiG 9.4.2-P2 <<>> vietkt.com mx

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

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

    ;; ANSWER SECTION:
    vietkt.com. 604800 IN MX 10 mail.vietkt.com.

    ;; AUTHORITY SECTION:
    vietkt.com. 604800 IN NS mail.vietkt.com.

    ;; ADDITIONAL SECTION:
    mail.vietkt.com. 604800 IN A 10.0.0.2

    ;; Query time: 0 msec
    ;; SERVER: 10.0.0.2#53(10.0.0.2)
    ;; WHEN: Thu Apr 2 13:53:22 2009
    ;; MSG SIZE rcvd: 79



    ; <<>> DiG 9.4.2-P2 <<>> vietkt.com any
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 11370
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1

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

    ;; ANSWER SECTION:
    vietkt.com. 604800 IN SOA mail.vietkt.com. admin.mail.vietkt.com. 70725 604800 86400 2419200 604800
    vietkt.com. 604800 IN NS mail.vietkt.com.
    vietkt.com. 604800 IN MX 10 mail.vietkt.com.

    ;; ADDITIONAL SECTION:
    mail.vietkt.com. 604800 IN A 10.0.0.2

    ;; Query time: 1 msec
    ;; SERVER: 10.0.0.2#53(10.0.0.2)
    ;; WHEN: Thu Apr 2 13:54:43 2009
    ;; MSG SIZE rcvd: 121

    vikjava@mta:~$ host mta.vietkt.com
    mta.vietkt.com has address 10.0.0.1

    Server B(maibox,ldap,bind)-10.0.0.2

    vikjava@mail:~$ cat /etc/hosts

    127.0.0.1 localhost.localdomain localhost
    10.0.0.2 mail.vietkt.com mail

    # The following lines are desirable for IPv6 capable hosts
    ::1 ip6-localhost ip6-loopback
    fe00::0 ip6-localnet
    ff00::0 ip6-mcastprefix
    ff02::1 ip6-allnodes
    ff02::2 ip6-allrouters
    ff02::3 ip6-allhosts

    vikjava@mail:~$ cat /etc/resolv.conf
    nameserver 10.0.0.2

    ; <<>> DiG 9.4.2-P2 <<>> vietkt.com mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 7850
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

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

    ;; ANSWER SECTION:
    vietkt.com. 604800 IN MX 10 mail.vietkt.com.

    ;; AUTHORITY SECTION:
    vietkt.com. 604800 IN NS mail.vietkt.com.

    ;; ADDITIONAL SECTION:
    mail.vietkt.com. 604800 IN A 10.0.0.2

    ;; Query time: 9 msec
    ;; SERVER: 10.0.0.2#53(10.0.0.2)
    ;; WHEN: Thu Apr 2 21:00:28 2009
    ;; MSG SIZE rcvd: 79

    ; <<>> DiG 9.4.2-P2 <<>> vietkt.com any

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

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

    ;; ANSWER SECTION:
    vietkt.com. 604800 IN SOA mail.vietkt.com. admin.mail.vietkt.com. 70725 604800 86400 2419200 604800
    vietkt.com. 604800 IN NS mail.vietkt.com.
    vietkt.com. 604800 IN MX 10 mail.vietkt.com.

    ;; ADDITIONAL SECTION:
    mail.vietkt.com. 604800 IN A 10.0.0.2

    ;; Query time: 0 msec
    ;; SERVER: 10.0.0.2#53(10.0.0.2)
    ;; WHEN: Thu Apr 2 21:01:25 2009
    ;; MSG SIZE rcvd: 121

    vikjava@mail:~$ host mail.vietkt.com
    mail.vietkt.com has address 10.0.0.2
    Last edited by vikjava; 04-02-2009 at 01:06 AM.

  8. #8
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    From server B what does the following output show?
    Code:
    dig mta.vietkt.com

  9. #9
    Join Date
    Mar 2009
    Posts
    15
    Rep Power
    6

    Default

    hi uxbod!
    from server B(maibox,ldap,bind)-10.0.0.2

    ; <<>> DiG 9.4.2-P2 <<>> mta.vietkt.com
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24322
    ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1

    ;; QUESTION SECTION:
    ;mta.vietkt.com. IN A

    ;; ANSWER SECTION:
    mta.vietkt.com. 604800 IN A 10.0.0.1

    ;; AUTHORITY SECTION:
    vietkt.com. 604800 IN NS mail.vietkt.com.

    ;; ADDITIONAL SECTION:
    mail.vietkt.com. 604800 IN A 10.0.0.2

    ;; Query time: 0 msec
    ;; SERVER: 10.0.0.2#53(10.0.0.2)
    ;; WHEN: Thu Apr 2 21:12:44 2009
    ;; MSG SIZE rcvd: 83

  10. #10
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Any error messages in /var/log/zimbra.log as all your server names are resolving okay ?

Similar Threads

  1. Error after installation
    By robsontuxlinux in forum Installation
    Replies: 13
    Last Post: 09-11-2008, 10:48 PM
  2. Replies: 1
    Last Post: 08-09-2008, 10:15 PM
  3. Error loading on Mac OS X 10.4.10 server PPC
    By qprcanada in forum Installation
    Replies: 7
    Last Post: 10-26-2007, 07:25 AM
  4. Migrating from Single Server to Multi Server Installs?
    By freeformz in forum Administrators
    Replies: 0
    Last Post: 05-17-2007, 04:52 PM
  5. ZCS ROCKS! Need some DNS help!
    By SiteDiscovery in forum Administrators
    Replies: 9
    Last Post: 12-30-2006, 10:50 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
  •