You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apt-get install bind9
cd /etc/bind/
nano named.conf
zone "gbesar.com" {
type master;
file "/etc/bind/db.gbesar";
};
zone "0.168.192.in-addr-arpa" {
type master;
file "etc/bind/db.192";
};
Configure Forwarder
cp db.local db.gbesar
nano db.gbesar
;
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA gbesar.com. root.gbesar.com. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS gbesar.com.
@ IN A 192.168.0.35
@ IN A 192.168.0.35
Configure Reverser
nano db.192
;
; BIND reverse data file for local loopback interface
;
$TTL 604800
@ IN SOA gbesar.com. root.gbesar.com. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS gbesar.com.
35 IN PTR gbesar.com.
35 IN PTR www.gbesar.com.