[root@openfiler ~]# conary update bind:runtime
Including extra troves to resolve dependencies:
info-named:user=1-1-0.1 util-linux-ng:runtime=2.16-0.0.4-1
Applying update job 1 of 2:
Install info-named(:user)=1-1-0.1
Applying update job 2 of 2:
Install bind:runtime=9.4.3_P5-1.1-1
Update util-linux-ng(:runtime) (2.16-0.0.3-1 -> 2.16-0.0.4-1)
[root@openfiler ~]# cat /etc/named.conf
options {
directory "/srv/named/data";
};
# forward zone
zone "lab.dbaglobe.com" IN {
type master;
file "lab.dbaglobe.com.zone";
};
# reverse zone
zone "1.168.192.in-addr.arpa" IN {
type master;
file "1.168.192.in-addr.arpa.zone";
};
[root@openfiler ~]# cat /srv/named/data/lab.dbaglobe.com.zone
$TTL 86400
@ IN SOA openfiler.lab.dbaglobe.com. root.localhost. (
2010063000 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expiry
86400 ) ; minimum
@ IN NS openfiler.lab.dbaglobe.com.
localhost IN A 127.0.0.1
openfiler IN A 192.168.1.100
vmxdb03 IN A 192.168.1.23
vmxdb04 IN A 192.168.1.24
vmxdb03-vip IN A 192.168.1.123
vmxdb04-vip IN A 192.168.1.124
vmxdb-scan IN A 192.168.1.126
IN A 192.168.1.127
IN A 192.168.1.128
[root@openfiler ~]# cat /srv/named/data/1.168.192.in-addr.arpa.zone
$TTL 86400
@ IN SOA openfiler.lab.dbaglobe.com. root.localhost. (
2010063000 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expiry
86400 ) ; minimum
@ IN NS openfiler.lab.dbaglobe.com.
100 IN PTR openfiler.lab.dbaglobe.com.
23 IN PTR vmxdb03.lab.dbaglobe.com.
24 IN PTR vmxdb04.lab.dbaglobe.com.
123 IN PTR vmxdb03-vip.lab.dbaglobe.com.
124 IN PTR vmxdb04-vip.lab.dbaglobe.com.
[root@openfiler ~]# service named start
Starting named: [ OK ]
[root@openfiler ~]# chkconfig named on
[root@openfiler ~]# chkconfig named --list
named 0:off 1:off 2:on 3:on 4:on 5:on 6:off
No comments:
Post a Comment