Results 1 to 2 of 2

Thread: Split DNS setup problems.

Hybrid View

  1. #1
    Join Date
    Nov 2011
    Posts
    10
    Rep Power
    0

    Default Split DNS setup problems.

    I'm following the guide (Split DNS - Zimbra :: Wiki) and got to the part where I need to edit the /etc/named.conf file. I've edited the named.conf file to look like this:

    Options {
    directory "/var/named";
    dump-file "/var/named/data/cache_dump.db";
    statistics-file "/var/named/data/named_stats.txt";
    forwarders { 64.0.x.x; };
    };
    include "/etc/rndc.key";
    zone "mail-ca3-archive.usaepay.com" {
    type master;
    file "db.mail-ca3-archive.usaepay.com";
    };

    Here's my db.mail-ca3-archive.usaepay.com file:

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

    Changed the /etc/resolv.conf to reflect my Zimbra server as the primary DNS and also set the search path to Zimbra server. When I run /etc/init.d/named restart I get:

    Stopping named: [ OK ]
    Starting named:
    Error in named configuration:
    db.mail-ca3-archive.usaepay.com:4: no TTL specified; using SOA MINTTL instead
    db.mail-ca3-archive.usaepay.com:11: NS record '10.10.x.x' appears to be an address
    zone mail-ca3-archive.usaepay.com/IN: NS '10.10.x.x.mail-ca3-archive.usaepay.com' has no address records (A or AAAA)
    zone mail-ca3-archive.usaepay.com/IN: not loaded due to errors.
    _default/mail-ca3-archive.usaepay.com/IN: bad zone
    [FAILED]

    I'm a newbie to this so please point me in the right direction. Thank you.

  2. #2
    Join Date
    Oct 2009
    Posts
    147
    Rep Power
    6

    Default

    The 3 files you need to modify are shown below. I run Ubuntu.
    I read that whatever your linux flavor is, it's the same files.
    these files are very sensitive so don't type by hand unless you trust yourself. If you follow the guide and look at my sample files you should be ok.


    db.mydomain.net file:
    ;
    ;BIND data file for fbocinc.net
    ;
    $TTL 604800
    @ IN SOA mail.mydomain.net. admin.mydomain.net. (
    090628 ; Serial
    604800 ; Refresh
    86400 ; Retry
    2419200 ; Expire
    604800 ) ; Negative Cache TTL
    ;
    @ IN NS mail
    IN MX 10 mail
    IN A 192.168.208.248
    mail IN A 192.168.208.248


    named.conf.local file:
    //
    // Do any local configuration here
    //
    zone "mydomain.net" {
    type master;
    file "/etc/bind/db.mydomain.net";
    };

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



    named.conf.options file:
    options {
    directory "/var/cache/bind";
    query-source address * port 53;

    // If there is a firewall between you and nameservers you want
    // to talk to, you may need to fix the firewall to allow multiple
    // ports to talk. See US-CERT Vulnerability Note VU#800113 - Multiple DNS implementations vulnerable to cache poisoning

    // If your ISP provided one or more IP addresses for stable
    // nameservers, you probably want to use them as forwarders.
    // Uncomment the following block, and insert the addresses replacing
    // the all-0's placeholder.

    forwarders {
    xxx.166.8.54; yyy.118.1.28;
    };

    auth-nxdomain no; # conform to RFC1035
    listen-on-v6 { any; };
    };

Similar Threads

  1. LAN/WAN and Split DNS
    By hewbert007 in forum Administrators
    Replies: 0
    Last Post: 09-14-2011, 04:36 PM
  2. Replies: 15
    Last Post: 04-14-2008, 01:29 PM
  3. split dns isn't working for me....
    By lucidblue in forum Installation
    Replies: 5
    Last Post: 06-02-2007, 10:24 PM
  4. zimbra email dns setup
    By robharpham in forum Installation
    Replies: 4
    Last Post: 05-13-2007, 07:25 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
  •