0% found this document useful (0 votes)
52 views5 pages

Computación E Informática: 36107 CI.:: Linux Noche Configuracion Servidor Dns

This document describes the configuration of a DNS and DHCP server on a Linux-CentOS system to provide services to a local network using the Bertex.org.pe domain. It includes configuration of the named.conf file to define zones for the domain and in-addr ranges. Zone files are also configured for the domain and in-addr reverse zones. Finally, the dhcpd.conf file is configured to provide DHCP services to clients on the 192.168.200.0/24 subnet.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views5 pages

Computación E Informática: 36107 CI.:: Linux Noche Configuracion Servidor Dns

This document describes the configuration of a DNS and DHCP server on a Linux-CentOS system to provide services to a local network using the Bertex.org.pe domain. It includes configuration of the named.conf file to define zones for the domain and in-addr ranges. Zone files are also configured for the domain and in-addr reverse zones. Finally, the dhcpd.conf file is configured to provide DHCP services to clients on the 192.168.200.0/24 subnet.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

INSTITUTO DE EDUCACION SUPERIOR

EL MEJOR INSTITUTO

LUMNO:

Valentn Vergaray Florentino Cayetano

SPECIALIDAD: Computacin E

Informtica
ODIGO: 36107 CI.
ROFESOR:
URSO: Linux
URNO: Noche
EMA: CONFIGURACION SERVIDOR DNS
Mail: [email protected]

[email protected]
[email protected]

26 de febrero
de 2012

CONFIGURACION DEL SERVIDOR DNS (LINUX-CENTOS

Configuracin del fichero: named.conf


Var/named/chroot/etc/named.conf para dar servicios a la red es lo siguiente:
192.68.200.0/24 , Usuando el Dominio Bertex.org.pe
// Red Hat BIND Configuration Tool
//
// Default initial "Caching Only" name server configuration
//
options {
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
allow-transfer {none;};
allow-query {192.68.200.0/24;localhost;};
allow-recursion {192.68.200.0/24;localhost;};
forwarders {8.8.8.8; 4.4.4.4;};
};
zone "." IN {
type hint;
file "named.root";
};
zone "localdomain." IN {
type master;
file "localdomain.zone";
allow-update { none; };
};
zone "localhost." IN {
type master;
file "localhost.zone";
allow-update { none; };
};

Alumno: Valentn Vergaray Florentino Cayetano

Pgina 2

26 de febrero
de 2012

CONFIGURACION DEL SERVIDOR DNS (LINUX-CENTOS

zone "0.0.127.in-addr.arpa." IN {
type master;
file "named.local";
allow-update { none; };
};
zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa." IN {
type master;
file "named.ip6.local";
allow-update { none; };
};
zone "255.in-addr.arpa." IN {
type master;
file "named.broadcast";
allow-update { none; };
};
zone "0.in-addr.arpa." IN {
type master;
file "named.zero";
allow-update { none; };
};
zone "Bertex.org.pe." {
type master;
file "Bertex.org.pe.zone";
allow-update { none; };
};
zone "200.68.192.in-addr.arpa" {
type master;
file "200.68.192.in-addr.arpa.zone";
};
include "/etc/rndc.key";

Configuracin el fichero de zona:


/var/named/chroot/var/named/Bertex.org.pe.zone
$TTL 86400
@

IN SOA
201202182
10800

dns. administrador. (
;numero de serie
;tiempo de refresco

Alumno: Valentn Vergaray Florentino Cayetano

Pgina 3

26 de febrero
de 2012
3600
604800
68400)

CONFIGURACION DEL SERVIDOR DNS (LINUX-CENTOS

;tiempo de reintentos de consulta


;tiempo tras el cual expira la zona
;tiempo total de vida

IN
NS dns
Bertex.org.pe.
IN A 192.68.200.40
Bertex.pe.
IN A 192.68.200.50
IN MX 10 Bertex.org.pe.
dns
IN CNAME Bertex.org.pe.
www
IN CNAME Bertex.pe.

Configuracin el fichero de zona inversa:


/var/named/chroot/var/named/200.68.192.in-addr.arpa.zone
$TTL 86400
@
IN SOA Bertex.org.pe.
administrador.
(
201202251
;Nemero de serie
28800
;Tiempo de refresco
7200
;Tiempo de reintento de consulta
604800
;Tiempo tras el cual expira la zona
86400)
;Tiempo total de vida
NS Bertex.org.pe.
NS dns.Bertex.org.pe.
40 PTR Bertex.org.pe.
40 PTR dns.Bertex.org.pe.
50 PTR www.Bertex.pe.
CONFIGURACIN DE DHCP
Configuracin del fichero:
/etc/dhcpd.conf
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
#
ddns-update-style ad-hoc;
ignore client-updates;
authoritative;
default-lease-time 900;
max-lease-time 7200;
option ip-forwarding off;
# nombre de la red

Alumno: Valentn Vergaray Florentino Cayetano

Pgina 4

26 de febrero
de 2012

CONFIGURACION DEL SERVIDOR DNS (LINUX-CENTOS

shared-network redlocal {
subnet 192.68.200.0 netmask 255.255.255.0 {
option routers 192.68.200.11;
option subnet-mask 255.255.255.0;
option broadcast-address 192.68.200.255;
option domain-name-servers 192.68.200.10;
option netbios-name-servers 192.68.200.10;
range 192.68.200.179 192.68.200.199;
}
}

Alumno: Valentn Vergaray Florentino Cayetano

Pgina 5

You might also like