Con Figura C I On Debian
Con Figura C I On Debian
Con Figura C I On Debian
# Static IP address
auto enp0s8
iface enp0s8 inet static
address 192.168.101.100
netmask 255.255.255.0
network 192.168.101.0
broadcast 192.168.101.255
gateway 192.168.101.1
root@Servername:~# service network-manager start
// OpenDNS servers
208.67.222.222;
208.67.220.220;
root@Servername:~# named-checkconf
root@Servername:~# nano /etc/resolv.conf
nameserver 127.0.0.1
nameserver ::1
root@Servername:~# named-checkconf
root@Servername:~# cp /etc/bind/db.local /etc/bind/db.ns1
root@Servername:~# nano /etc/bind/db.ns1
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA ns1.profmatiasgarcia.com.ar. root.profmatiasgarcia.com.ar. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns1.profmatiasgarcia.com.ar.
ns1 IN A 192.168.101.100
profmatiasgarcia.com.ar. IN A 192.168.101.100
;server IN A 192.168.101.100
;router IN A 192.168.101.1
default-lease-time 600;
max-lease-time 7200;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
. . .
# This is a very basic subnet declaration.