Poner la Red que quiero en el NAT
ylisten-on { any; };
allow-query { localhost; 10.10.20.0/24; };
forwarders {
8.8.8.8;
8.8.4.4;
};
dnssec-validation no;
CONTROL X
sudo nano /etc/default/namedsudo named-checkconf
sudo systemctl restart bind9
systemctl status bind9
Yo quiero diazmongesolano.com
Para 192.168.2.128 seria 2.168.192
zone "diazmongesolano.com" IN {
type master;
file "/etc/bind/zonas/diazmongesolano.com";
};
zone "2.168.192.in-addr.arpa" {
type master;
file "/etc/bind/zonas/db.192.168.2";
};
$TTL 1D
@ IN SOA ns1.diazmongesolano.com. admin.diazmongesolano.com. (
1 ; Serial
12h ; Refresh
15m ; Retry
3w ; Expire
2h ) ; Negative Cache TTL
; Registros NS
IN NS ns1.diazmongesolano.com.
ns1 IN A 192.168.2.128
www IN A 192.168.2.128
No hay comentarios.:
Publicar un comentario