You are on page 1of 3

DNS Configuration with Domain test.

net and subdomain login

Archivo: /etc/resolv.conf

nameserver 192.168.15.10 ; DNS Server


_____________________________________________
/etc/bind/named.conf.local

zone "test.net" {
type master;
file "db.test.net";
allow-query { any; };
};

zone "15.168.192.in-addr.arpa" {
type master;
file "db.192.168.15";
allow-query { any; };

_____________________________________________
Archivo: /var/cache/bind/db.192.168.15

$ORIGIN 15.168.192.in-addr.arpa.
$TTL 86400
@

IN

; 1 dia
SOA

test.net. postmaster.test.net. (

; serie

6H

; refresco (6 horas)

1H

; reintentos (1 hora)

2W

; expire (2 semanas)

3H

; mnimo (3 horas)

)
IN

NS

test.net.

IN

NS

login.test.net.

1 IN PTR

test.net.

2 IN PTR

login.test.net.

_____________________________________________

Archivo: /var/cache/bind/db.test.net

;$ORIGIN test.net.
$TTL 86400 ; 1 dia
@

IN

SOA

test.net. postmaster.test.net. (

2
6H
1H
2W
3H )

IN NS test.net.

IN NS login.test.net.

IN A 192.168.15.10

ssh

IN A 192.168.15.10

login IN A 192.168.15.151 ; MG Server

You might also like