yum install bind bind-chroot rpm -qa |grep bind service named start kedit /var/named/chroot/etc/named.cachingnameserver. conf forward only; forwarders { 147.91.173.31; }; updatedb locate named.conf cp /usr/share/doc/bind- 9.3.2/sample/etc/named.conf /var/named/chroot/etc/ kedit /var/named/chroot/etc/named.conf view "localhost_resolver" { match-clients { localhost; }; match-destinations { localhost; }; recursion yes; include "/etc/named.root.hints"; include "/etc/named.rfc1912.zones"; zone "mreze.vts.su.ac.yu" { type master; file "mreze.vts.su.ac.yu"; }; }; view "internal" { match-clients { localnets; }; match-destinations { localnets; }; recursion yes; include "/etc/named.root.hints"; zone "mreze.vts.su.ac.yu" { type master; file "mreze.vts.su.ac.yu"; }; }; view "external" { match-clients { !localnets; !localhost; }; match-destinations { !localnets; !localhost; }; recursion no; include "/etc/named.root.hints"; zone "mreze.vts.su.ac.yu" { type master; file "mreze.vts.su.ac.yu"; }; }; kedit /var/named/chroot/var/named/mreze.vts.su.ac.yu ; mreze.vts.su.ac.yu. $TTL 604800 @ IN SOA drvo15.mreze.vts.su.ac.yu. root.drvo15.mreze.vts.su.ac.yu. ( 2008120501 ; Serial 1D ; Refresh 1H ; Retry 1W ; Expire 604800); Negative Cache TTL ; @ IN NS ns @ IN MX 10 drvo15 www IN CNAME drvo15 smtp IN CNAME drvo15 pop3 IN CNAME drvo15 ns IN CNAME drvo15 drvo1 IN A 192.168.26.101 drvo2 IN A 192.168.26.102 drvo3 IN A 192.168.26.103 drvo4 IN A 192.168.26.104 drvo5 IN A 192.168.26.105 drvo6 IN A 192.168.26.106 drvo7 IN A 192.168.26.107 drvo8 IN A 192.168.26.108 drvo9 IN A 192.168.26.109 drvo10 IN A 192.168.26.110 drvo11 IN A 192.168.26.111 drvo12 IN A 192.168.26.112 drvo13 IN A 192.168.26.113 drvo14 IN A 192.168.26.114 drvo15 IN A 192.168.26.115 service named start locate named.root.hints cp /usr/share/doc/bind- 9.3.2/sample/etc/named.root.hints /var/named/chroot/etc/ service named start tail /var/log/messages ls -l /var/named/chroot/var/named/ kedit /var/named/chroot/etc/named.root.hints zone "." IN { type hint; file "named.ca"; }; service named start tail /var/log/messages service named start tail /var/log/messages kedit /etc/resolv.conf nameserver 192.168.26.91 kedit /var/named/chroot/etc/named.conf zone "26.168.192.in-addr.arpa" { type master; file "26.168.192.in-addr.arpa"; }; kedit /var/named/chroot/var/named/26.168.192.in-addr.arpa $ttl 38400 26.168.192.in-addr.arpa. IN SOA drvo15.mreze.vts.su.ac.yu. root.mreze.vts.su.ac.yu. ( 2008121901 10800 3600 432000 38400 ) 26.168.192.in-addr.arpa. IN NS drvo15.mreze.vts.su.ac.yu. 101 IN PTR drvo1.mreze.vts.su.ac.yu. 102 IN PTR drvo2.mreze.vts.su.ac.yu. APACHE********************* rpm -qa |grep httpd hostname /etc/init.d/httpd start service httpd restart mkdir /var/www/html/opis mkdir /var/www/html/knjige mkdir /var/www/html/autori mkdir /var/www/html/images locate *.jpg cp /usr/share/wallpapers/triplegears.jpg /var/www/html/images/logo.jpg kedit /var/www/html/index.html