Namen.conf.local
zone "aulaI1.com"{
type master;
file: ' /etc/bind/db.aulaI1.com'
}
; BIND fichero de datos de la zona directa del aula 32I
;
$TTL 38400
@ IN SOA ai1pc101.aulaI1.com. ai1pc101.aulaI1.com. (
2014102001 ;Serial
10800 ;Refresh
3600 ; Retry
604800 ; Expire
38400 ) ; Negative Cache TTL
3600 ; Retry
604800 ; Expire
38400 ) ; Negative Cache TTL
ai1pc101.aulaI1.com. IN A 192.168.1.101
ai1pc102.aulaI1.com. IN A 192.168.1.102
ai1pc103.aulaI1.com. IN A 192.168.1.103
ai1pc104.aulaI1.com. IN A 192.168.1.104
ai1pc105.aulaI1.com. IN A 192.168.1.105
ai1pc106.aulaI1.com. IN A 192.168.1.106
ai1pc107.aulaI1.com. IN A 192.168.1.107
ai1pc108.aulaI1.com. IN A 192.168.1.108
ai1pc109 IN A 192.168.1.109
ai1pc110 IN A 192.168.1.110
ai1pc111 IN A 192.168.1.111
ai1pc112 IN A 192.168.1.112
ai1pc113 IN A 192.168.1.113
ai1pc114 IN A 192.168.1.114
ai1pc115 IN A 192.168.1.115
ai1pc102.aulaI1.com. IN A 192.168.1.102
ai1pc103.aulaI1.com. IN A 192.168.1.103
ai1pc104.aulaI1.com. IN A 192.168.1.104
ai1pc105.aulaI1.com. IN A 192.168.1.105
ai1pc106.aulaI1.com. IN A 192.168.1.106
ai1pc107.aulaI1.com. IN A 192.168.1.107
ai1pc108.aulaI1.com. IN A 192.168.1.108
ai1pc109 IN A 192.168.1.109
ai1pc110 IN A 192.168.1.110
ai1pc111 IN A 192.168.1.111
ai1pc112 IN A 192.168.1.112
ai1pc113 IN A 192.168.1.113
ai1pc114 IN A 192.168.1.114
ai1pc115 IN A 192.168.1.115
ai1pc116 IN A 192.168.1.116
RESOLUCIÓN INVERSA
named.conf.local
zone "192.in-addr.arpa"{
type master;
file: ' /etc/bind/db.192'
}
Base de datos
;
$TTL 38400
@ IN SOA ai1pc101.aulaI1.com. ai1pc101.aulaI1.com. (
2014102001 ;Serial
10800 ;Refresh
3600 ;Retry
604800 ;Expire
38400 ) ;Negative Cache TTL
;
192.in-addr.arpa. IN NS ai1pc101.aulaI1.com.
101.1.168.192.in-addr.arpa. IN PTR ai1pc101.aulaI1.com.
101.1.168 IN PTR ai1pc101.aulaI1.com.
101.1.168 IN PTR ai1pc101.aulaI1.com.
102.1.168 IN PTR ai1pc102.aulaI1.com.
103.1.168 IN PTR ai1pc103.aulaI1.com.
104.1.168 IN PTR ai1pc104.aulaI1.com.
105.1.168 IN PTR ai1pc105.aulaI1.com.
106.1.168 IN PTR ai1pc106.aulaI1.com.
107.1.168 IN PTR ai1pc107.aulaI1.com.
108.1.168 IN PTR ai1pc108.aulaI1.com.
109.1.168 IN PTR ai1pc109.aulaI1.com.
110.1.168 IN PTR ai1pc110.aulaI1.com.
111.1.168 IN PTR ai1pc111.aulaI1.com.
112.1.168 IN PTR ai1pc112.aulaI1.com.
113.1.168 IN PTR ai1pc113.aulaI1.com.
114.1.168 IN PTR ai1pc114.aulaI1.com.
115.1.168 IN PTR ai1pc115.aulaI1.com.
116.1.168 IN PTR ai1pc116.aulaI1.com.
CONFIGURACIÓN MASTRO/ESCLAVO
named.conf.options (maestro)
Forwarders {
80.58.61.250
80.58.61.254
};
allow-transfer { 192.168.nºpc
};
named.conf.local (maestro)
masters { 192.168.1.150; };
};
zone "1.168.192.in-addr.arpa" {
type slave;
file "/var/cache/bind/db.192.168.1";
masters { 192.168.1.150; };
};
No hay comentarios:
Publicar un comentario