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

Thread: [SOLVED] Help: Ubuntu Split DNS Config

  1. #1
    mconder is offline Member
    Join Date
    Oct 2008
    Posts
    11
    Rep Power
    6

    Default [SOLVED] Help: Ubuntu Split DNS Config

    I have tried and tried to get this working. The closest I get is incoming mail gets queued up on the server and never goes to the mailboxes.

    This is currently what I get from nslookup...

    root@ubuntu-srv:/var/cache/bind# nslookup ubuntu-srv.appconnex.com
    Server: 192.168.1.50
    Address: 192.168.1.50#53

    *** Can't find ubuntu-srv.appconnex.com: No answer


    Here's my named.conf.local file...

    // We are the master server for ubuntu-srv.appconnex.com
    zone "ubuntu-srv.appconnex.com" {
    type master;
    file "db.ubuntu-srv.appconnex.com";
    };
    //

    Here's my db.ubuntu-srv.appconnex.com file...

    ;
    ; Addresses and other host information.
    ;
    @ IN SOA ubuntu-srv.appconnex.com. hostmaster.ubuntu-srv.appconnex.com. (
    10118 ; Serial
    43200 ; Refresh
    3600 ; Retry
    3600000 ; Expire
    2592000 ) ; Minimum
    ; Define the nameservers and the mail servers
    IN NS 192.168.1.50 ; local ip
    ubuntu-srv IN A 192.168.1.50 ; local ip
    IN MX 10 ubuntu-srv.appconnex.com. ;MXrecord


    Here's my resolv.conf file...

    nameserver 192.168.1.50

    Please help...what am I doing wrong here?

    Thanks!

  2. #2
    mconder is offline Member
    Join Date
    Oct 2008
    Posts
    11
    Rep Power
    6

    Default

    By the way...the domain I am trying to get email to in Zimbra is appconnex.com. External DNS appears to be working sense incoming mail comes to the queue.

  3. #3
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    // We are the master server for ubuntu-srv.appconnex.com
    zone "ubuntu-srv.appconnex.com" {
    type master;
    file "db.ubuntu-srv.appconnex.com";
    };
    //
    You have defined your zone incorrectly as it should be
    Code:
    zone "appconnex.com" {
    type master;
    file "db.appconnex.com";
    };
    Your server ubuntu-srv resides within that domain so you do not describe your zone as the server name

  4. #4
    mconder is offline Member
    Join Date
    Oct 2008
    Posts
    11
    Rep Power
    6

    Default

    ok...lookup now works on the domain, but what about the host?

    root@ubuntu-srv:/home/mike# nslookup
    > appconnex.com
    Server: 192.168.1.50
    Address: 192.168.1.50#53

    Name: appconnex.com
    Address: 192.168.1.50
    > ubuntu-srv
    Server: 192.168.1.50
    Address: 192.168.1.50#53

    ** server can't find ubuntu-srv: NXDOMAIN
    > ^[[A
    Server: 192.168.1.50
    Address: 192.168.1.50#53
    : NXDOMAIN
    > server can't find
    > ubuntu-srv.appconnex.com
    Server: 192.168.1.50
    Address: 192.168.1.50#53

    ** server can't find ubuntu-srv.appconnex.com: NXDOMAIN

  5. #5
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Please post your zonefile and the section from named.conf.

  6. #6
    mconder is offline Member
    Join Date
    Oct 2008
    Posts
    11
    Rep Power
    6

    Default

    /var/cache/bind/db.appconnex.com

    ;
    ; Addresses and other host information.
    ;
    @ IN SOA ubuntu-srv.appconnex.com. hostmaster.ubuntu-srv.appconnex.com. (
    10118 ; Serial
    43200 ; Refresh
    3600 ; Retry
    3600000 ; Expire
    2592000 ) ; Minimum
    ; Define the nameservers and the mail servers
    IN NS 192.168.1.50 ; local ip
    IN A 192.168.1.50 ; local ip
    IN MX 10 ubuntu-srv.appconnex.com. ;MXrecord

    /etc/bind/named.conf.local

    // We are the master server for appconnex.com
    zone "appconnex.com" {
    type master;
    file "db.appconnex.com";
    };
    //
    // Do any local configuration here
    //

    // Consider adding the 1918 zones here, if they are not used in your
    // organization
    //include "/etc/bind/zones.rfc1918";

  7. #7
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    You need a 'A' record for your server so
    Code:
    ubuntu-srv IN A 192.168.1.50
    and remember to update the serial number.

  8. #8
    mconder is offline Member
    Join Date
    Oct 2008
    Posts
    11
    Rep Power
    6

    Default

    Like this?



    ;
    ; Addresses and other host information.
    ;
    @ IN SOA ubuntu-srv.appconnex.com. hostmaster.ubuntu-srv.appconnex.com. (
    10118 ; Serial
    43200 ; Refresh
    3600 ; Retry
    3600000 ; Expire
    2592000 ) ; Minimum
    ; Define the nameservers and the mail servers
    IN NS 192.168.1.50 ; local ip
    ubuntu-srv IN A 192.168.1.50 ; local ip
    IN MX 10 ubuntu-srv.appconnex.com. ;MXrecord

  9. #9
    mconder is offline Member
    Join Date
    Oct 2008
    Posts
    11
    Rep Power
    6

    Default

    This issue us resolved.
    Last edited by mconder; 10-17-2008 at 12:33 PM.

  10. #10
    mconder is offline Member
    Join Date
    Oct 2008
    Posts
    11
    Rep Power
    6

    Default

    Actually, I am back to not solved...

    root@mail:/home/mike# nslookup
    > appconnex.com
    Server: 192.168.1.50
    Address: 192.168.1.50#53

    *** Can't find appconnex.com: No answer
    > mail.appconnex.com
    Server: 192.168.1.50
    Address: 192.168.1.50#53

    Name: mail.appconnex.com
    Address: 192.168.1.50
    >

    It's still not resolving my domain appconnex.com.

    Here's is the current config:

    /etc/bind/named.conf.local

    zone "appconnex.com" {
    type master;
    file "appconnex.com.db";
    };

    /var/cache/bind/appconnex.com.db

    @ IN SOA mail.appconnex.com. hostmaster.mail.appconnex.com. (
    10118 ; Serial
    43200 ; Refresh
    3600 ; Retry
    3600000 ; Expire
    2592000 ) ; Minimum
    ;
    ; Define the nameservers and the mail servers
    IN NS 192.168.1.50
    mail IN A 192.168.1.50
    IN MX 10 mail.appconnex.com.

    root@mail:/var/cache/bind# cat /etc/hosts
    127.0.0.1 localhost.localdomain localhost
    192.168.1.50 mail.appconnex.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

    root@mail:/var/cache/bind# cat /etc/resolv.conf
    nameserver 192.168.1.50
    Last edited by mconder; 10-17-2008 at 12:33 PM.

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. bayes db..
    By osiris in forum Administrators
    Replies: 9
    Last Post: 06-15-2011, 11:14 AM
  2. LDAP Cannot bind on migration to new server
    By neekster in forum Migration
    Replies: 23
    Last Post: 03-09-2009, 02:08 AM
  3. speed up the net
    By mcesari in forum Administrators
    Replies: 10
    Last Post: 04-25-2008, 11:24 AM
  4. SLES10 installation issue (split DNS config)
    By swacongne in forum Installation
    Replies: 2
    Last Post: 03-26-2007, 12:54 AM
  5. Split DNS setup help? Ubuntu and zimbra 4.5RC2.
    By nfear24 in forum Installation
    Replies: 2
    Last Post: 01-11-2007, 07:39 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
  •