Menú
08225, Terrassa (Barcelona)
Soporte Técnico
Sábados a convenir
Cita de admin en 3 marzo, 2022, 10:47 amyum install bind bind-utilssystemctl enable --now namedsystemctl status namedcp /etc/named.conf /etc/named.conf.orig acl clients {192.168.3.0/24;}; options { listen-on port 53 { any; }; listen-on-v6 port 53 { any; }; directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; memstatistics-file "/var/named/data/named_mem_stats.txt"; secroots-file "/var/named/data/named.secroots"; recursing-file "/var/named/data/named.recursing"; allow-query { localhost; clients; }; allow-recursion { localhost; clients; }; recursion yes; allow-update { none; }; allow-transfer { localhost; }; include "/etc/named.rfc1912.zones"; include "/etc/named.root.key"; include "/etc/named/infcanboada.zones"; nano /etc/named/infcanboada.zones
//forward zone
zone infcanboada.local IN {
type master;
file "infcanboada.local.zone";};
//backward zone
zone "3.168.192.in-addr.arpa" IN {
type master;
file "infcanboada.local.rzone";};
cd /var/named
cp -p named.localhost infcanboada.local.zone cp -p named.localhost infcanboada.local.rzone 1//
$TTL 1D
@ IN SOA @ infcanboada.local. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
NS @
A 192.168.3.2srv.infcanboada.local. IN A 192.168.3.2
mail IN A 192.168.3.2
IN MX 10 mail.infcanboada.local.
yum install bind bind-utils
systemctl enable --now named
systemctl status named
cp /etc/named.conf /etc/named.conf.orig
acl clients {192.168.3.0/24;};
options {
listen-on port 53 { any; };
listen-on-v6 port 53 { any; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
secroots-file "/var/named/data/named.secroots";
recursing-file "/var/named/data/named.recursing";
allow-query { localhost; clients; };
allow-recursion { localhost; clients; };
recursion yes;
allow-update { none; };
allow-transfer { localhost; };
include "/etc/named.rfc1912.zones";
include "/etc/named.root.key";
include "/etc/named/infcanboada.zones";
nano /etc/named/infcanboada.zones
//forward zone
zone infcanboada.local IN {
type master;
file "infcanboada.local.zone";
};
//backward zone
zone "3.168.192.in-addr.arpa" IN {
type master;
file "infcanboada.local.rzone";
};
cd /var/named
cp -p named.localhost infcanboada.local.zone
cp -p named.localhost infcanboada.local.rzone
1//
$TTL 1D
@ IN SOA @ infcanboada.local. (
0 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
NS @
A 192.168.3.2
srv.infcanboada.local. IN A 192.168.3.2
mail IN A 192.168.3.2
IN MX 10 mail.infcanboada.local.
Cita de admin en 3 marzo, 2022, 8:48 pm//forward zone zone _example.com_ IN { type master; file _example.com.zone_; }; //backward zone zone "2.0.192.in-addr.arpa" IN { type master; file _example.com.rzone_; };
//forward zone zone _example.com_ IN { type master; file _example.com.zone_; }; //backward zone zone "2.0.192.in-addr.arpa" IN { type master; file _example.com.rzone_; };
© Informàtica Can Boada All rights reserved