Below -;
Mats:/var/chroot/bind9/etc/bind# ls
db.0 db.empty named.conf zones.rfc1918
db.1.168.192.in-addr.arpa db.local named.conf.local
db.127 db.root named.conf.options
db.255 db.vun.lan rndc.key
Mats:/var/chroot/bind9/etc/bind#
Mats:/var/chroot/bind9/etc/bind# cat named.conf.local
//
// 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 "vun.lan" {
type master;
file "db.vun.lan";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "db.1.168.192.in-addr.arpa";
};
Mats:/var/chroot/bind9/etc/bind#
Mats:/var/chroot/bind9/etc/bind# cat named.conf.options
options {
directory "/var/cache/bind";
// listen-on port 53 {192.168.1.43;}
allow-query {192.168.1.0/24;127.0.0.1;};
// 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
http://www.kb.cert.org/vuls/id/800113
// 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 {
196.0.3.70;
}; this is my isp DNS ip
auth-nxdomain no; # conform to RFC1035
listen-on-v6 { any; };
};
Mats:/var/chroot/bind9/etc/bind#
Mats:/var/chroot/bind9/etc/bind# cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.0.1
Mats:/var/chroot/bind9/etc/bind#