The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

secondary dns

Discussion in 'Bind / DNS / Nameserver Issues' started by cygus, Aug 9, 2007.

  1. cygus

    cygus Active Member

    Joined:
    Jun 18, 2007
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Hi

    I have two ips on one machine.
    I run master dns server on first ip and secondary dns server on second ip.
    But I have some problem with transfer zone from master (cpanel dns server).

    Configuration on sec. dns:

    include "/etc/rndc.key";
    controls {
    inet sec_dns_ip allow { sec_dns_ip; } keys { "rndc-key"; };
    };
    options
    {
    query-source port 53;
    directory "/var/named"; // the default
    dump-file "data/cache_dump.db";
    statistics-file "data/named_stats.txt";
    memstatistics-file "data/named_mem_stats.txt";
    listen-on { sec_dns_ip; };
    };

    logging
    {
    channel default_debug {
    file "data/named.run";
    severity dynamic;
    };
    };
    zone "domain.com" {
    type slave;
    masters { master_dns_ip; };
    file "/var/named/domain.com.db";
    };


    I added the following line in named.conf on master dns server (cpanel dns server):

    listen-on { master_dns_ip; 127.0.0.1; };
    allow-transfer { sec_dns_ip; };

    And I have some error when I run sec. dns server:

    running
    zone domain.com/IN: refresh: non-authoritative answer from master master_dns_ip#53 (source 0.0.0.0#0)

    Somebody help me?
     
Loading...

Share This Page