---------------------------------------------------------------- # vi /var/named/katou.sc.lan
$TTL 86400 @ IN SOA katou.sc. root.katou.sc.( 2007031400 ; serial 3600 ; refresh (1 hour) 900 ; retry (15 minutes) 604800 ; expire (1 week) 86400 ; negative (1 day) ) IN NS katou.sc. IN MX 10 katou.sc. IN A 192.168.11.15 KUROBOX-PRO IN A 192.168.11.8 x23-server IN CNAME katou.sc. www IN CNAME katou.sc.
------------------------------------------------------------------ ------------------------------------------------------------------ # vi /var/named/11.168.192.in-addr.arpa.db
$TTL 86400 @ IN SOA katou.sc. root.katou.sc.( 2007031400 ; serial 3600 ; refresh (1 hour) 900 ; retry (15 minutes) 604800 ; expire (1 week) 86400 ; negative (1 day) ) IN NS katou.sc. 15 IN PTR katou.sc. 8 IN PTR KUROBOX-PRO.katou.sc.
// named.caching-nameserver.conf // // Provided by Red Hat caching-nameserver 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. // // DO NOT EDIT THIS FILE - use system-config-bind or an editor // to create named.conf - edits to this file will be lost on // caching-nameserver package upgrade. // options { // listen-on port 53 { 127.0.0.1; }; // listen-on-v6 port 53 { ::1; }; directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; memstatistics-file "/var/named/data/named_mem_stats.txt"; query-source port 53; // query-source-v6 port 53;
Jul 26 08:49:01 fedora named[22540]: starting BIND 9.4.1-P1 -u named -t /var/named/chroot Jul 26 08:49:01 fedora named[22540]: found 2 CPUs, using 2 worker threads Jul 26 08:49:01 fedora named[22540]: loading configuration from '/etc/named.conf' Jul 26 08:49:01 fedora named[22540]: listening on IPv4 interface lo, 127.0.0.1#53 Jul 26 08:49:01 fedora named[22540]: listening on IPv4 interface eth0, 192.168.1.5#53 Jul 26 08:49:01 fedora named[22540]: listening on IPv4 interface eth1, 172.16.8.5#53 Jul 26 08:49:01 fedora named[22540]: zone 'kajuhome.com' allows updates by IP address, which is insecure Jul 26 08:49:01 fedora named[22540]: zone 'kaju.homeip.net' allows updates by IP address, which is insecure Jul 26 08:49:01 fedora named[22540]: zone '1.168.192.in-addr.arpa' allows updates by IP address, which is insecure Jul 26 08:49:01 fedora named[22540]: zone '8.16.172.in-addr.arpa' allows updates by IP address, which is insecure