Загрузка страницы

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
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
15 июля 2013 г. 6:05:22
00:17:10
Яндекс.Метрика