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

Thread: [SOLVED] trying to split dns

  1. #1
    coolkiller is offline Member
    Join Date
    Feb 2009
    Posts
    12
    Rep Power
    6

    Smile [SOLVED] trying to split dns

    ok my ISP are : 200.58.225.130
    200.58.225.146

    at /etc/bind/named.conf.options
    Code:
    options {
            directory "/var/cache/bind";
    
            query-source address * port 53;
    
            forwarders {
                    xxx.xxx.xxx.xxx; xxx.xxx.xxx.xxx;
            };
    
            auth-nxdomain no;    # conform to RFC1035
    
    };
    what should I write in forwarders

    my isp ? 200.48.225.130

    or my internal ip address 192.168.1.106 (zimbra's ip)

    this is what I have at /etc/resolv.conf

    Code:
    search ucisa
    nameserver 192.168.1.106
    I'm following this guide : Ubuntu 6.06 Server (Dapper Drake) Beginner's Install Guide - Zimbra :: Wiki

    please read the guide before answer

    thank you
    Last edited by coolkiller; 02-27-2009 at 10:05 AM. Reason: solved thread

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

    Default

    The forwarders should be your upstream ISP .. so if you are attempting to resolve anything outside of the realm your control eg. zimbra.com the request will be forwarded. Basically anything you are not authoritative for within your DNS setup.

  3. #3
    coolkiller is offline Member
    Join Date
    Feb 2009
    Posts
    12
    Rep Power
    6

    Default

    so I write 200.48.225.130 and 200.48.225.146? those are my ISP

    or should I write my future zimbra's internal ip 192.168.1.106 and computer's ip?

    or maybe both?

    something like this

    forwarders {
    192.168.1.106; 200.48.225.130;
    };
    Last edited by coolkiller; 02-26-2009 at 08:21 AM.

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

    Default

    Forwarders will only be used if the record you are looking up does not exist in your local BIND installation and the zones you are authoritative for.

  5. #5
    coolkiller is offline Member
    Join Date
    Feb 2009
    Posts
    12
    Rep Power
    6

    Unhappy please helpme with bind

    I'm following this guide: Ubuntu 6.06 Server (Dapper Drake) Beginner's Install Guide - Zimbra :: Wiki

    but when I restart my computer after edit /etc/bind/db.mydomain.com

    bind doesn't start
    Starting domain name service...: bind failed!

    this is my configuration

    /etc/bind a simple dir
    Code:
    db.0    db.255    db.local  db.ucisa.pe  named.conf.local    rndc.key
    db.127  db.empty  db.root   named.conf   named.conf.options  zones.rfc1918
    in named.conf.local I did exactly as the guide says so this is what I have
    Code:
    //
    // Do any local configuration here
    //
    
    // Consider adding the 1918 zones here, if they are not used in your
    // organization
    //include "/etc/bind/zones.rfc1918";
    
    zone "ucisa.pe" {
            type master;
            file "/etc/bind/db.ucisa.pe";
    }
    so in db.ucisa.pe I have these exactly as the guide says but with my domain
    Code:
    ;
    ; BIND data file for local loopback interface
    ;
    $TTL    604800
    @       IN      SOA     debian.ucisa.pe. admin.ucisa.pe. (
                           27028917         ; Serial
                             604800         ; Refresh
                              86400         ; Retry
                            2419200         ; Expire
                             604800 )       ; Negative Cache TTL
    ;
    @       IN      NS              debian
            IN      MX      10      debian
            IN      A               192.168.1.106
    debian  IN      A               192.168.1.106
    when computer is booting it says
    Starting domain name service...: bind failed!

    when I commented these lines on named.conf.local

    //zone "ucisa.pe" {
    // type master;
    // file "/etc/bind/db.ucisa.pe";
    //}

    bind starts normally

    I'm stuck
    what should I do? is the guide wrong?

    pd: I didn't touch the file named.conf
    at the last part of named.conf it says:

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


    please I need backup

    pd2: debian is the name of my computer.
    Last edited by coolkiller; 02-27-2009 at 07:35 AM.

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

    Default

    Check /var/log/messages to see why BIND was unable to start

  7. #7
    coolkiller is offline Member
    Join Date
    Feb 2009
    Posts
    12
    Rep Power
    6

    Default

    that file is huge

    I searched for bind

    I found this two lines

    Code:
    Feb 26 11:22:24 localhost kernel: TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
    Feb 26 11:22:24 localhost kernel: TCP: Hash tables configured (established 131072 bind 65536)
    maybe the problem is there's two type "master"
    one in named.conf
    and other in named.conf.local


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

    Default

    Search for named.

  9. #9
    coolkiller is offline Member
    Join Date
    Feb 2009
    Posts
    12
    Rep Power
    6

    Default

    no results for named

    maybe the problem is there's two "master" type
    one in named.conf
    and other in named.conf.local

    what do u think?
    Last edited by coolkiller; 02-27-2009 at 07:50 AM.

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

    Default

    Code:
    zone "ucisa.pe" {
            type master;
            file "/etc/bind/db.ucisa.pe";
    };
    You missed a semi-colon of the end of the zone statement

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. Replies: 0
    Last Post: 08-06-2008, 09:02 PM
  2. split dns help
    By tanoatzim in forum Installation
    Replies: 12
    Last Post: 05-09-2008, 07:42 AM
  3. Replies: 15
    Last Post: 04-14-2008, 12:29 PM
  4. split dns isn't working for me....
    By lucidblue in forum Installation
    Replies: 5
    Last Post: 06-02-2007, 09:24 PM
  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
  •