Configure DNS with Bind9
sudo apt-get install bind9
Change ip address
iface eth0 intet static
address 192.168..1.50
netmask 255.255.255.0
gateway 192.168.1.254
/etc/init.d/bind9 restart
/etc/bind/named.conf.options:
Sudo vi /etc/bind/named.conf.local
zone "kev.com" {
type master;
file "/etc/bind/db.forward.com";
};
sudo cp /etc/bind/db.local /etc/bind/db.forward.com
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA ns.kev.com. root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.kev.com.
ns IN A 192.168.1.50
desktop IN A 192.168.1.100
server IN A 192.168.1.50
**NOTE - "server" in the above db.forward.com file is the hostname of my UBUNTU server. My hostname in this tutorial was server. Modify server to match the hostname of your server hostname. The same is true for "desktop"**
sudo /etc/init.d/bind9 restart
Sudo vi /etc/bind/named.conf.local
zone "1.168.192.in-addr.arpa" {
type master;
notify no;
file "/etc/bind/db.reverse.com";
};
sudo cp /etc/bind/db.127 /etc/bind/db.reverse.com
;
; BIND reverse data file for local loopback interface
;
$TTL 604800
@ IN SOA ns.kev.com. root.local. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.
50 IN PTR ns.kev.com.
50 IN PTR server.kev.com.
100 IN PTR desktop.kev.com.
sudo /etc/init.d/bind9 restart
Edit /etc/resolv.conf
Replace the entries with:
Nameserver 192.168.1.50
Domain net360.local
Search net360.local
Видео Configure DNS with Bind9 канала Kevin Sheppard
Change ip address
iface eth0 intet static
address 192.168..1.50
netmask 255.255.255.0
gateway 192.168.1.254
/etc/init.d/bind9 restart
/etc/bind/named.conf.options:
Sudo vi /etc/bind/named.conf.local
zone "kev.com" {
type master;
file "/etc/bind/db.forward.com";
};
sudo cp /etc/bind/db.local /etc/bind/db.forward.com
; BIND data file for local loopback interface
;
$TTL 604800
@ IN SOA ns.kev.com. root.localhost. (
1 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.kev.com.
ns IN A 192.168.1.50
desktop IN A 192.168.1.100
server IN A 192.168.1.50
**NOTE - "server" in the above db.forward.com file is the hostname of my UBUNTU server. My hostname in this tutorial was server. Modify server to match the hostname of your server hostname. The same is true for "desktop"**
sudo /etc/init.d/bind9 restart
Sudo vi /etc/bind/named.conf.local
zone "1.168.192.in-addr.arpa" {
type master;
notify no;
file "/etc/bind/db.reverse.com";
};
sudo cp /etc/bind/db.127 /etc/bind/db.reverse.com
;
; BIND reverse data file for local loopback interface
;
$TTL 604800
@ IN SOA ns.kev.com. root.local. (
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.
50 IN PTR ns.kev.com.
50 IN PTR server.kev.com.
100 IN PTR desktop.kev.com.
sudo /etc/init.d/bind9 restart
Edit /etc/resolv.conf
Replace the entries with:
Nameserver 192.168.1.50
Domain net360.local
Search net360.local
Видео Configure DNS with Bind9 канала Kevin Sheppard
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
How to configure Access Control List (Extended ACL) with Cisco RouterNAT configurations on a Cisco RouterInstalling Apache2 WebServer (Part1)Los Angeles Training Camp - Day 2Fair Park Crit 3/4's - the 5th of March 2020Snare Tutorial KevinAndSultan2021 Driveway series week 1 - Cat 3/4 CrashWattage Ride 3/14/2021Configure Telnet on Cisco RouterFrame-Relay Sub-Interfaces Part1Cedar Hill RR 2019 CAT 4/5Frame-Relay Sub-Interfaces Part3Wattage Ride 10/24/2020Access Control List (Standard ACL) for cisco routerFrame-Relay Sub-Interfaces Part4Naming and Assigning VLANS (Part1)KRG Fair Park 4th + PrimeTulsa Tough Saturday 2021 - Cat 4intervlanFrame-Relay Sub-Interfaces Part22020 Tommy Ketterhagen Memorial Road Race