named.conf
options {
directory "/var/named";
allow-query { glmtech-lan; };
forwarders { 210.14.0.113; 210.14.0.114; }; # ISP primary/secondary
# forward-only; # Rely completely on ISP for cache misses
};
#options {
# directory "/etc";
# pid-file "/var/run/named/named.pid";
# };
key rndc-key {
algorithm hmac-md5;
secret "RoqWH0OBuKvx1tkURtgDPg==";
};
controls {
inet 127.0.0.1 port 953 allow { 127.0.0.1; } keys { rndc-key; };
};
acl glmtech-lan { 192.168.1.0/24; 127.0/8; };
#options {
# directory "/var/named";
# allow-query { glmtech-lan; };
# forwarders { 210.14.0.113; 210.14.0.114; }; # ISP primary/secondary
# forward-only; # Rely completely on ISP for cache misses
#};
# Forward Zone for glmtech.lan domain
zone "glmtech.lan" IN {
type master;
file "glmtech.lan.zone";
};
# Reverse Zone for glmtech.lan domain
zone "1.168.192.in-addr.arpa" IN {
type master;
file "192.168.1.zone";
};
FORWARD ZONE
$TTL 1D
glmtech.lan. IN SOA ruel.glmtech.lan. foo.bar.tld. (
200706011
2H
5M
1W
1M )
@ IN NS ruel.glmtech.lan.
ruel.glmtech.lan. IN A 192.168.1.126 ; RHEL server
shaggy.glmtech.lan. IN A 192.168.1.3 ; router
scooby-dum.glmtech.lan. IN A 192.168.1.4 ; upstairs WAP
daphne.glmtech.lan. IN A 192.168.1.5 ; downstairs WAP
;scooby-dum.glmtech.lan. IN A 192.168.15.6 ; Fedora desktop
;daphne.glmtech.lan. IN A 192.168.15.7 ; network printer
;#mysterymachine IN A 192.168.15.6 ; mail server
;#scrappy IN A 192.168.15.7 ; Windows box
; aliases
www IN CNAME ruel.glmtech.lan. ; WWW server
virtual IN CNAME ruel ; virtual WWW tests
;mail IN CNAME mysterymachine ; sendmail host
; DHCP Clients
;#dhcp01.hughes.lan. IN A 192.168.15.100
;#dhcp02.hughes.lan. IN A 192.168.15.101
;#dhcp03.hughes.lan. IN A 192.168.15.102
;#dhcp04.hughes.lan. IN A 192.168.15.103
;#dhcp05.hughes.lan. IN A 192.168.15.104
;#@ IN MX 10 mail.hughes.lan.
REVERSE DNS
$TTL 1D
@ IN SOA ruel.glmtech.lan. foo.bar.tld. (
200706010 ; serial
2H ; refresh slaves
5M ; retry
1W ; expire
1M ; Negative TTL
)
IN NS ruel.glmtech.lan.
126 IN PTR ruel.glmtech.lan.
;1 IN PTR fred.glmtech.lan.
;2 IN PTR scooby.glmtech.lan.
3 IN PTR shaggy.glmtech.lan.
4 IN PTR scooby-dum.glmtech.lan.
5 IN PTR daphne.glmtech.lan.
;#6 IN PTR mysterymachine.hughes.lan.
;#7 IN PTR scrappy.hughes.lan.
;#100 IN PTR dhcp01.hughes.lan.
;#101 IN PTR dhcp02.hughes.lan.
;#102 IN PTR dhcp03.hughes.lan.
;#103 IN PTR dhcp04.hughes.lan.
;#104 IN PTR dhcp05.hughes.lan.