Como configurar dns en centos 5.5

Solo disponible en BuenasTareas
  • Páginas : 2 (319 palabras )
  • Descarga(s) : 0
  • Publicado : 13 de marzo de 2011
Leer documento completo
Vista previa del texto
1. yum -y install bind bind-chroot bind-utils caching-nameserver

2. vi /var/named/chroot/etc/named.conf

options{
directory "/var/named";
dump-file "/var/named/data/named_stats.txt";allow-recursion{
127.0.0.1;
192.168.0.0/24;
};

forwarders{
192.168.0.2;
200.33.146.219;
};

forward first;
};

zone "0.0.127.in-addr.arpa"{
type master;
file"named.local";
};

zone "uts.edu.mx"{
type master;
file "named.forward";
};

zone "0.168.192.in-addr.arpa"{
type master;
file "named.0.168.192";
};

3. vi/var/named/chroot/var/named/named.uts.edu.mx
$TTL 86400
@ IN SOA ns.uts.edu.mx. hostmaster.uts.edu.mx.(
2010070401;
28800;
7200;
604800;
86400;
)
NS ns.uts.edu.mx.
@ A 192.168.0.2
WWW A192.168.0.2

4. vi /var/named/chroot/var/named/named.local
$TTL 86400
@ IN SOA localhost. root.localhost. (
2010070401 ; Serial
28800 ; Refresh14400 ; Retry
3600000 ; Expire
86400 ) ; Minimum
IN NS localhost.
0 IN PTR localhost.

5. vi/var/named/chroot/var/named/named.forward
$TTL 86400
@ IN SOA ns.uts.edu.mx. hostmaster.uts.edu.mx.(
2010070401 ; Serial
28800 ; Refresh
14400; Retry
3600000 ; Expire
86400 ) ; Minimum

NS ns ;
localhost A 127.0.0.1
ns A 192.168.0.2
www A 192.168.0.2
ftp A 192.168.0.26. vi /var/named/chroot/var/named/named.0.168.192
$TTL 86400
@ IN SOA ns.uts.edu.mx. hostmaster.uts.edu.mx.(
2010070401 ; Serial
28800 ;Refresh
7200 ; Retry
604800 ; Expire
86400 ) ; Minimum

NS ns.uts.edu.mx.
2 PTR ns.uts.edu.mx.
2...
tracking img