Forums:
Hola a todos,
Estoy intentando crear un servidor dns con dhcp, el segundo servicio me funciona correctamente pero el servidor dns no me responde y creo que esta bien configurado...alguien podria darme una mano o una idea de que puede ser?
Estos son los 3 ficheros de configuracion basicos:
# }
#}
server-identifier londres;
ddns-updates on;
ddns-update-style interim;
ddns-domainname "rmeecimne.upc.edu";
ddns-rev-domainname "in-addr.arpa.";
ignore client-updates;
include "/etc/dhcp3/rndc.key";
zone rmeecimne.upc.edu {
primary 127.0.0.1;
key rndc-key;
}
option domain-name "rmeecimne.upc.edu";
option domain-name-servers 192.168.100.1;
option ntp-servers 192.168.100.1;
option ip-forwarding off;
default-lease-time 600;
max-lease-time 7200;
authoritative;
log-facility local7;
subnet 192.168.0.0 netmask 255.255.0.0 {
range 192.168.100.1 192.168.100.254;
range 192.168.101.1 192.168.101.254;
option broadcast-address 192.168.255.255;
option routers 192.168.0.1;
allow unknown-clients;
zone 100.168.192.in-addr.arpa. {
primary 192.168.100.1;
key "rndc-key";
}
zone localdomain. {
primary 192.168.100.1;
key "rndc-key";
}
}
# host impresora {
# hardware ethernet 00:11:85:d2:5c:c6;
# fixed-address 192.168.1.33;
#}
// This is the primary configuration file for the BIND DNS server named.
//
// Please read /usr/share/doc/bind9/README.Debian.gz for information on the
// structure of BIND configuration files in Debian, *BEFORE* you customize
// this configuration file.
//
// If you are just adding zones, please do that in /etc/bind/named.conf.local
include "/etc/bind/named.conf.options";
// prime the server with knowledge of the root servers
zone "." {
type hint;
file "/etc/bind/db.root";
};
// be authoritative for the localhost forward and reverse zones, and for
// broadcast zones as per RFC 1912
zone "localhost" {
type master;
file "/etc/bind/db.local";
};
zone "127.in-addr.arpa" {
type master;
file "/etc/bind/db.127";
};
zone "0.in-addr.arpa" {
type master;
file "/etc/bind/db.0";
};
zone "255.in-addr.arpa" {
type master;
file "/etc/bind/db.255";
};
include "/etc/bind/named.conf.local";
controls {
inet 127.0.0.1 allow {localhost;} keys {"rndc-key";};
};
//
// Do any local configuration here
//
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "rmeecimne.upc.edu" {
type master;
file "/etc/bind/db.rmeecimne";
allow-update { key "rndc-key"; };
notify yes;
};
zone "100.168.192.in-addr.arpa" {
type master;
file "/etc/bind/db.192.168.100";
allow-update { key "rndc-key"; };
notify yes;
};
include "/etc/bind/rndc.key";
~
~
~
~
~
~
Puedes poner aca el error y
Puedes poner aca el error y muestranos el archivo /etc/bind/db.rmeecimne Saludos....
Ya esta el problema venia por
Ya esta el problema venia por el servicio apparmor...no lo conocia y alguien me comento que aunque cambies permisos el apparmor los sigue capando...
Gracias a todos igualmente por su tiempo!