View Single Post
  #14  
Old 17th March 2011, 18:47
bigjerboa bigjerboa is offline
Junior Member
 
Join Date: Mar 2011
Posts: 13
Thanks: 7
Thanked 2 Times in 2 Posts
Default

Here is name.config

//
// named.conf
//
// Provided by Red Hat bind package to configure the ISC BIND named(8) DNS
// server as a caching only nameserver (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
options {
listen-on port 53 { 127.0.0.1; };
listen-on-v6 port 53 { ::1; };
directory "/var/named/chroot/var/named";
dump-file "/var/named/chroot/var/named/data/cache_dump.db";
statistics-file "/var/named/chroot/var/named/data/named_stats.txt";
memstatistics-file "/var/named/chroot/var/named/data/named_mem_stats.txt";
allow-query { localhost; };
recursion yes;
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.root";
};
include "/var/named/chroot/etc/named.conf.local";


and this is named.conf.local

zone "wnof.com" {
type master;
allow-transfer {38.99.159.169;38.99.159.170;};
file "/var/named/chroot/var/named//pri.wnof.com";
};
Reply With Quote