Changes

Jump to navigation Jump to search
2,035 bytes added ,  07:29, 18 December 2017
Created page with "== SetUp Client == === Windows === Edit your network adapter preferences/TCP-IP > DNS use as Primary DNS: 22.0.0.1 Use as Secondary DNS: 20.1.40.23 === Ubuntu === Add the fol..."
== SetUp Client ==
=== Windows ===
Edit your network adapter preferences/TCP-IP > DNS
use as Primary DNS: 22.0.0.1
Use as Secondary DNS: 20.1.40.23

=== Ubuntu ===
Add the following line to: /etc/resolvconf/resolv.conf.d/base<br />
nameserver 20.1.40.23

== Server Configuration ==
IP: 20.1.40.23<br />
User: brujula<br />
Authorized keys: ['xe50582@rt', 'xe51125@redteam', 'xe55246@rra.lan', 'nicolas@nicolas-laptop', 'Jose@LAPTOP-FDM6SC5N']<br />
Configuration file: /etc/bind/named.conf.local
<nowiki>zone "rra.lan" {
type master;
file "db.rra.lan";
};

zone "40.1.20.in-addr.arpa" {
type master;
file "db.20.1.40";
};</nowiki>

=== Add name resolution ===
nano /var/cache/bind/db.rra.lan
It will look something like:
<nowiki>$TTL 3600
@ IN SOA dns.rra.lan. root.rra.lan. (
1 ; Serial
6H ; refresco (6 horas)
1H ; reintentos (1 hora)
2W ; expira (2 semanas)
3H ; mínimo (3 horas)
);

@ IN NS dns.rra.lan.
@ IN MX 10 dns.rra.lan.

dns IN A 20.1.40.23
vcenter IN A 20.1.40.51
esx IN A 20.1.40.35
nsx IN A 20.1.40.13
git IN A 20.1.40.104
wiki IN A 20.1.40.11</nowiki>


Add line:<br />
subdomain IN A 20.1.40.XXX

=== Reverse resolution ===
nano /var/cache/bind/db.20.1.40
It will look something like:
<nowiki>@ IN SOA dns.rra.lan. root.rra.lan. (
1 ; serie
6H ; refresco (6 horas)
1H ; reintentos (1 hora)
2W ; expire (2 semanas)
3H ; mínimo (3 horas)
);

@ IN NS dns.
23 IN PTR dns.rra.lan.
51 IN PTR vcenter.rra.lan.
35 IN PTR esx.rra.lan.
13 IN PTR nsx.rra.lan.
104 IN PTR git.rra.lan.
11 IN PTR wiki.rra.lan.
</nowiki>

Navigation menu