rendered paste body[root@dev named]# cat /etc/dhcpd.conf
ddns-update-style interim;
ddns-updates on;
option thinsrv code 193 = array of ip-address;
include "/etc/rndc.key";
zone dhcp.int.qx21.net. {
primary localhost;
key rndc-key;
}
zone 170.17.172.in-addr.arpa. {
primary localhost;
key rndc-key;
}
subnet 172.17.170.0 netmask 255.255.255.0 {
authoritative;
pool {
range 172.17.170.10 172.17.170.89;
range 172.17.170.100 172.17.170.199;
deny dynamic bootp clients;
}
option ntp-servers 203.80.162.35;
option routers 172.17.170.1;
option domain-name-servers 172.17.172.244,172.17.170.245;
option netbios-name-servers 172.17.172.244,172.17.170.245;
option thinsrv 172.17.170.244;
next-server 172.17.170.249;
option tftp-server-name "172.17.172.244";
option domain-name "dhcp.int.qx21.net";
server-identifier 172.17.170.245;
filename "/pxelinux.0";
default-lease-time 86400;
max-lease-time 129600;
}
[root@dev named]#
[root@dev named]# cat /etc/rndc.key
key rndc-key {
algorithm hmac-md5;
secret "aIrxwac1lKk/WOMM8szzJA==";
};
[root@dev named]#
[root@dev named]# cat /etc/named.conf
acl com0.int.qx21.net {
172.17.172.244/32;
};
acl dev.int.qx21.net {
172.17.170.245/32;
};
include "/etc/rndc.key";
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
forward only;
forwarders {
203.80.162.51;
203.80.162.50;
};
};
controls {
inet 127.0.0.1 allow { localhost; } keys { rndc-key; };
inet 172.17.170.245 allow { "com0.int.qx21.net"; } keys { rndc-key; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
};
zone "170.17.172.in-addr.arpa" {
type master;
file "/var/named/172.17.170.rev";
allow-update {key rndc-key; } ;
notify explicit;
also-notify {172.17.172.244;};
};
zone "171.17.172.in-addr.arpa" {
type master;
file "/var/named/172.17.171.rev";
};
zone "170.17.172.int.qx21.net" {
type master;
file "/var/named/170.17.172.int.qx21.net.hosts";
};
zone "171.17.172.int.qx21.net" {
type master;
file "/var/named/171.17.172.int.qx21.net.hosts";
};
zone "18.198.in-addr.arpa" {
type forward;
forwarders {
198.18.2.4;
};
};
zone "19.198.in-addr.arpa" {
type forward;
forwarders {
198.18.2.4;
};
};
zone "qx21.net" {
type forward;
forwarders {
198.18.2.4;
};
};
zone "dhcp.int.qx21.net" {
type master;
file "/var/named/dhcp.int.qx21.net.hosts";
notify explicit;
also-notify {172.17.172.244;};
allow-update {
key rndc-key;
};
};
[root@dev named]#
[root@com0 ~]# cat /etc/rndc.key
key rndc-key {
algorithm hmac-md5;
secret "aIrxwac1lKk/WOMM8szzJA==";
};
[root@com0 ~]#
[root@com0 named]# cat /etc/named.conf
acl com0.int.qx21.net {
172.17.172.244/32;
};
acl dev.int.qx21.net {
172.17.170.245/32;
};
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
forward only;
forwarders {
203.80.162.51;
203.80.162.50;
};
};
controls {
inet 127.0.0.1 allow { localhost; } keys { rndc-key; };
inet 172.17.172.244 allow { "dev.int.qx21.net"; } keys { rndc-key; };
};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "0.in-addr.arpa" IN {
type master;
file "named.zero";
allow-update { none; };
};
include "/etc/rndc.key";
zone "170.17.172.in-addr.arpa" {
type master;
file "/var/named/172.17.170.rev";
allow-update {key rndc-key; } ;
notify explicit;
also-notify {172.17.170.245;};
};
zone "171.17.172.in-addr.arpa" {
type master;
file "/var/named/172.17.171.rev";
};
zone "170.17.172.int.qx21.net" {
type master;
file "/var/named/170.17.172.int.qx21.net.hosts";
};
zone "171.17.172.int.qx21.net" {
type master;
file "/var/named/171.17.172.int.qx21.net.hosts";
};
zone "18.198.in-addr.arpa" {
type forward;
forwarders {
198.18.2.4;
};
};
zone "19.198.in-addr.arpa" {
type forward;
forwarders {
198.18.2.4;
};
};
zone "qx21.net" {
type forward;
forwarders {
198.18.2.4;
};
};
zone "dhcp.int.qx21.net" {
type master;
file "/var/named/dhcp.int.qx21.net.hosts";
notify explicit;
also-notify {172.17.170.245;};
allow-update {
key rndc-key;
};
};
[root@com0 named]#