← Back to team overview

sslug-teknik team mailing list archive

DNS

 

Jeg har et problem med at få min sekundere DNS til at hente zone på min primære DNS det er som om den ikke har rettigheder til det min Named.conf ser sådan ud er der nogle som kan hjælpe

Det er Sokna.dk Zone som den sekundere ikke ikke kan opdatere på

  
/* sample configuration file for BIND 8.1 or later
 * should be installed as /etc/named.conf
 *
 * Author: Florian La Roche
 */

#
# overall options of the server
#
options {
           directory "/var/named";
           # the default is to fail, if the master file is not correct
           check-names master warn;

           pid-file "/var/run/named.pid";

           datasize default;
           stacksize default;
           coresize default;
           files unlimited;
           recursion yes;

           multiple-cnames no;            // if yes, then a name my have more
                                                       // is non-standard and is not
                                                       // recommended, but it is available
                                                       // because previous releases supported
                                                       // it and it was used by large sites
                                                       // for load balancing.

           # the default is to ask the forwarders and if they fail
           # try to find the answer yourself, this will only ask the forwarders
           #forward only;
           # list of DNS servers to ask
           forwarders {
                      193.162.153.164;
                      193.162.146.9;
           };
           # the default is to listen on port 53 on all available interfaces
           # you can also give a detailed list:
           #listen-on { 5.6.7.8; };
           #listen-on port 1234 { !1.2.3.4; 1.2/16; };
};

#
# do not be verbose about these problems...
#
logging {
           category lame-servers { null; };
           category cname { null; };
};

#
# predefined access control lists (acl):
# "any"               allows all hosts
# "none"           denies all hosts
# "localhost"           allows the IP adresses of all interfaces of the system
# "localnets"           allows any host on a network of the local interfaces
#
# defining an additional ACL:
# acl can_download { 195.215.170.4; 192.168.0.18; };
# acl can_download { any; };

#
# The server statement defines the characteristics to be associated with
# a remote name server.
#
# Marking a server as bogus will prevent queries to that server.
# server 192.168.0.128 { bogus yes; }
# If the other name server has also BIND 8.1 or newer installed, you
# can allow compacter zone transfers with this statement.
# server 195.215.170.110 { transfer-format many-answers; }

zone "." IN {
        type hint;
        file "root.hint";
};

zone "sokna.dk" IN {
           type master;
           file "sokna.dk.dns";
           check-names fail;
           allow-update { any; };
       allow-transfer { any; };
       notify Yes;
};

#
# a slave zone
#



Follow ups