Beruflich Dokumente
Kultur Dokumente
22.172.in-addr.arpa
; BIND reverse data file for empty rfc1918 zone
;
; DO NOT EDIT THIS FILE - it is used for multiple zones.
; Instead, copy it, edit named.conf, and use that copy.
;
$TTL 3600
@ IN SOA servidor.aurora.ser. root.localhost. (
2012020801 ; Serial
21600 ; Refresh
3600 ; Retry
3600000 ; Expire
86400 ) ; minimum
@ IN NS servidor.aurora.ser.
1.0 IN PTR servidor.aurora.ser.
db.aurora.ser
; BIND reverse data file for empty rfc1918 zone
;
; DO NOT EDIT THIS FILE - it is used for multiple zones.
; Instead, copy it, edit named.conf, and use that copy.
;
$TTL 86400
@ IN SOA servidor root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
86400 ) ; Negative Cache TTL
;
@ IN NS servidor
servidor IN A 172.22.0.1
dhclient.conf
#alias {
# interface "eth0";
# fixed-address 192.5.5.213;
# option subnet-mask 255.255.255.255;
#}
#lease {
# interface "eth0";
# fixed-address 192.33.137.200;
# medium "link0 link1";
# option host-name "andare.swiftmedia.com";
# option subnet-mask 255.255.255.0;
# option broadcast-address 192.33.137.255;
# option routers 192.33.137.250;
# option domain-name-servers 127.0.0.1;
# renew 2 2000/1/12 00:00:01;
# rebind 2 2000/1/12 00:00:01;
# expire 2 2000/1/12 00:00:01;
#}
named.conf.local
//
// Do any local configuration here
//
zone "aurora.ser" {
type master;
file "db.aurora.ser";
};
zone "22.172.in-addr.arpa" {
type master;
file "22.172.in-addr.arpa";
};
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
resolv.conf
domain aurora.ser
search aurora.ser
nameserver 127.0.0.1
EJERCICIO2:_______
Comando.txt
wget --user=ftp --password=ftp ftp://ftp.rs.internic.net/domain/db.cache -O
/etc/bind/db.root
db.root
Ejercicio3:______________
rndc.key
key "rndc-key" {
algorithm hmac-md5;
secret "89gO+TzCBBzMgw4HeM4XhA==";
};
named.conf.local
include "/etc/bind/rndc.key";
controls {
inet 127.0.0.1 allow { localhost; } keys { "rndc-key"; };
};
//
// Do any local configuration here
//
zone "aurora.ser" {
type master;
file "db.aurora.ser";
allow-update { key "rndc-key"; };
};
zone "22.172.in-addr.arpa" {
type master;
file "22.172.in-addr.arpa";
allow-update { key "rndc-key"; };
};
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
dhcpd.conf
#dhcpd.conf
#
default-lease-time 600;
max-lease-time 7200;
include "/etc/bind/rndc.key";
ddns-updates on;
ddns-update-style interim;
zone aurora.ser. {
primary 127.0.0.1;
key rndc-key;
}
zone 22.172.in-addr.arpa. {
primary 127.0.0.1;
key rndc-key;
}
Ejercicio4_________
dnsmasq.conf
interface=enp0s8
listen-address=127.0.0.1
domain=aurora.ser
dhcp-range=172.22.0.3,172.22.255.254,4h