9
ZONA DIRECTA #zona directa dominio c10.sti crear zona crear base de datos equipos servidor -->ping servidor.c10.sti cliente----->ping cliente.c10.sti crear alias www.--->servidor  ping www.c10.sti Teniendo la IP bien configurada, Darle a Create master zone

ZONA DIRECTA.doc

Embed Size (px)

Citation preview

7/29/2019 ZONA DIRECTA.doc

http://slidepdf.com/reader/full/zona-directadoc 1/9

ZONA DIRECTA#zona directa

dominio c10.sti

crear zona

crear base de datos equipos

servidor -->ping servidor.c10.sti

cliente----->ping cliente.c10.sti

crear alias

www.--->servidor 

 ping www.c10.sti

Teniendo la IP bien configurada,

Darle a Create master zone

7/29/2019 ZONA DIRECTA.doc

http://slidepdf.com/reader/full/zona-directadoc 2/9

Rellenar los campos y darle a crear 

Entrar en la zona creada

7/29/2019 ZONA DIRECTA.doc

http://slidepdf.com/reader/full/zona-directadoc 3/9

Introducir el nombre de la zona y el nombre del servidor 

Introducir los nombres de direcciones

7/29/2019 ZONA DIRECTA.doc

http://slidepdf.com/reader/full/zona-directadoc 4/9

Introducir los alias

name: www.s1.sti.

real name: server210-desktop

Una vez realizados los pasos darle arriba a la derecha a Apply Zone y Apply

configuration

7/29/2019 ZONA DIRECTA.doc

http://slidepdf.com/reader/full/zona-directadoc 5/9

Zona inversa

Seleccionar Reverse en «Zone type», Poner la red sin el ultimo octeto y darle a Create.

Introducir la dirección del host y debajo el nombre del host y darle a crear 

(en este ejemplo esta en Save ya que es una edición)

7/29/2019 ZONA DIRECTA.doc

http://slidepdf.com/reader/full/zona-directadoc 6/9

Archivos de configuración de la zona inversa

/etc/bind/named.conf 

// 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";

include "/etc/bind/named.conf.local";

include "/etc/bind/named.conf.default-zones";

/etc/bind/named.conf.options

options {

directory "/var/cache/bind";

// If there is a firewall between you and nameservers you want

// to talk to, you may need to fix the firewall to allow multiple

// ports to talk. See http://www.kb.cert.org/vuls/id/800113

// If your ISP provided one or more IP addresses for stable

// nameservers, you probably want to use them as forwarders.

// Uncomment the following block, and insert the addresses replacing

// the all-0's placeholder.

// forwarders {

// 0.0.0.0;

// };

//

// If BIND logs error messages about the root key being expired,

// you will need to update your keys. See https://www.isc.org/bind-keys

//

dnssec-validation auto;

auth-nxdomain no; # conform to RFC1035

listen-on-v6 { any; };

};

7/29/2019 ZONA DIRECTA.doc

http://slidepdf.com/reader/full/zona-directadoc 7/9

/etc/bind/named.conf.options

options {

directory "/var/cache/bind";

// If there is a firewall between you and nameservers you want

// to talk to, you may need to fix the firewall to allow multiple

// ports to talk. See http://www.kb.cert.org/vuls/id/800113

// If your ISP provided one or more IP addresses for stable

// nameservers, you probably want to use them as forwarders.

// Uncomment the following block, and insert the addresses replacing

// the all-0's placeholder.

// forwarders {

// 0.0.0.0;// };

//

// If BIND logs error messages about the root key being expired,

// you will need to update your keys. See https://www.isc.org/bind-keys

//

dnssec-validation auto;

auth-nxdomain no; # conform to RFC1035

listen-on-v6 { any; };

};

/etc/bind/named.conf.local//

// 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 "s1.sti" {

type master;

file "/var/lib/bind/s1.sti.hosts";};

7/29/2019 ZONA DIRECTA.doc

http://slidepdf.com/reader/full/zona-directadoc 8/9

zone "c1.sti" {

type master;

file "/var/lib/bind/c1.sti.hosts";

};

zone "c8.sti" {

type master;file "/var/lib/bind/c8.sti.hosts";

};

zone "s2.sti" {

type master;

file "/var/lib/bind/s2.sti.hosts";

};

zone "c2.sti" {

type master;

file "/var/lib/bind/c2.sti.hosts";

};

zone "s3.sti" {type master;

file "/var/lib/bind/s3.sti.hosts";

};

zone "c3.sti" {

type master;

file "/var/lib/bind/c3.sti.hosts";

};

zone "c4.sti" {

type master;

file "/var/lib/bind/c4.sti.hosts";

};

zone "s4.sti" {

type master;

file "/var/lib/bind/s4.sti.hosts";

};

zone "prueba" {

type master;

file "/var/lib/bind/prueba.hosts";

};

zone "0.168.192.in-addr.arpa" {

type master;file "/var/lib/bind/192.168.0.rev";

};

/etc/bind/named.conf.default-zones

// 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 

7/29/2019 ZONA DIRECTA.doc

http://slidepdf.com/reader/full/zona-directadoc 9/9

// 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";

};