√ Программы, √ Сайты, √ Исходники, √ C++, √ Библиотеки, √ Хостинг, √ Домены
|
|
/ Помощь - Настройки
DNS сервер bind9 устанавливается командой #apt-get install bind9 /etc/bind/named.conf: //include "/etc/bind/named.conf.options"; include "/etc/bind/my_named.conf.options"; include "/etc/bind/named.conf.local"; include "/etc/bind/named.conf.default-zones"; include "/etc/bind/my_dns_zones.conf"; /etc/bind/my_named.conf.options: options { directory "/var/cache/bind"; // If there is a firewall between you and nameservers you want // to talk to, you may need to fix the firewall to allow multiple // ports to talk. See http://www.kb.cert.org/vuls/id/800113 // If your ISP provided one or more IP addresses for stable // nameservers, you probably want to use them as forwarders. // Uncomment the following block, and insert the addresses replacing // the all-0's placeholder. // forwarders { // 0.0.0.0; // }; //======================================================================== // If BIND logs error messages about the root key being expired, // you will need to update your keys. See https://www.isc.org/bind-keys //======================================================================== dnssec-validation auto; auth-nxdomain no; # conform to RFC1035 // listen-on-v6 { any; }; additional-from-auth yes; additional-from-cache yes; allow-query {0.0/0;}; //allow-recursion { 0.0/0; }; //allow-recursion { 141.101.245.0/24; 127.0.0.1/32; 37.29.112.234/32; 85.172.30.60/32; }; allow-recursion { 141.101.245.0/24; 127.0.0.1/32; }; }; /etc/bind/my_dns_zones.conf: // This is the primary configuration file for the BIND DNS server named. /var/named/domain.ru: $TTL 3600 #/etc/init.d/bind9 reload Далее можно добавить вторичный DNS сервер: После чего указать DNS серверы у регистратора. IP первичного DNS сервера - IP Вашего VDS, IP вторичного - ns.maasoftware.com (141.101.245.190).
Назад Наверх / Помощь - Настройки |
Пользователь
Новости [...] Архив новостей. Новое на сайте
Сейчас на сайте
Гостей: 1
Пользователей: 0 Роботов: 2 Всего пользователей: 33 |