Редактирование: Свой DNS сервер Bind9 для запуска ForkPlayer
Внимание! Вы не авторизовались на сайте. Ваш IP-адрес будет публично видимым, если вы будете вносить любые правки. Если вы войдёте или создадите учётную запись, правки вместо этого будут связаны с вашим именем пользователя, а также у вас появятся другие преимущества.
Правка может быть отменена. Пожалуйста, просмотрите сравнение версий, чтобы убедиться, что это именно те изменения, которые вас интересуют, и нажмите «Записать страницу», чтобы изменения вступили в силу.
Текущая версия | Ваш текст | ||
Строка 1: | Строка 1: | ||
− | |||
Установка своего DNS сервера BIND9 на Debian для запуска сторонних приложений | Установка своего DNS сервера BIND9 на Debian для запуска сторонних приложений | ||
Выполните команды | Выполните команды | ||
− | <blockquote | + | <blockquote> |
apt-get install bind9 unzip nano | apt-get install bind9 unzip nano | ||
− | wget " | + | wget "http://wiki.forkplayer.tv/w/images/0/01/Etc_bind_configfiles.zip" |
− | unzip -o <span style="background-color: transparent; color: rgb(51, 51, 51); cursor: text; display: inline; float: none; font-family: sans-serif,arial,verdana,"> | + | unzip -o <span style="background-color: transparent; color: rgb(51, 51, 51); cursor: text; display: inline; float: none; font-family: sans-serif,arial,verdana,"trebuchet ms"; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 20.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;">Etc_bind_configfiles.zip /etc/bind/</span> |
− | <span style="background-color: transparent; color: rgb(51, 51, 51); cursor: text; display: inline; float: none; font-family: sans-serif,arial,verdana,">chmod +x /</span><span style="background-color: transparent; color: rgb(51, 51, 51); cursor: text; display: inline; float: none; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 20.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;">etc/bind/iptables</span> | + | <span style="background-color: transparent; color: rgb(51, 51, 51); cursor: text; display: inline; float: none; font-family: sans-serif,arial,verdana,"trebuchet ms"; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 20.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;">chmod +x /</span><span style="background-color: transparent; color: rgb(51, 51, 51); cursor: text; display: inline; float: none; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 20.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;">etc/bind/iptables</span> |
<span style="background-color: transparent; color: rgb(51, 51, 51); cursor: text; display: inline; float: none; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 20.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;">/</span><span style="background-color: transparent; color: rgb(51, 51, 51); cursor: text; display: inline; float: none; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 20.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;">etc/bind/iptables</span> | <span style="background-color: transparent; color: rgb(51, 51, 51); cursor: text; display: inline; float: none; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 20.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;">/</span><span style="background-color: transparent; color: rgb(51, 51, 51); cursor: text; display: inline; float: none; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 20.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;">etc/bind/iptables</span> | ||
− | <span style="background-color: transparent; color: rgb(51, 51, 51); cursor: text; display: inline; float: none; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 20.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;">service bind9 | + | <span style="background-color: transparent; color: rgb(51, 51, 51); cursor: text; display: inline; float: none; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 20.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;">service bind9 start</span> |
</blockquote> | </blockquote> | ||
− | Далее включаем в автозагрузку выполнение /<span style="background-color: transparent; color: rgb(51, 51, 51); cursor: text; display: inline; float: none; font-family: sans-serif,arial,verdana, | + | Далее включаем в автозагрузку выполнение /<span style="background-color: transparent; color: rgb(51, 51, 51); cursor: text; display: inline; float: none; font-family: sans-serif,arial,verdana,"trebuchet ms"; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 20.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;">etc/bind/iptables (Защита от </span>DNS Amplification) |
− | + | <blockquote> | |
nano /etc/rc.local | nano /etc/rc.local | ||
</blockquote> | </blockquote> | ||
и вставляем перед exit 0 текст | и вставляем перед exit 0 текст | ||
− | <blockquote style=" | + | <blockquote> |
− | <span style="background-color: transparent; color: rgb(51, 51, 51); cursor: text; display: inline; float: none; font-family: sans-serif,arial,verdana, | + | <span style="background-color: transparent; color: rgb(51, 51, 51); cursor: text; display: inline; float: none; font-family: sans-serif,arial,verdana,"trebuchet ms"; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 20.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;">/</span><span style="background-color: transparent; color: rgb(51, 51, 51); cursor: text; display: inline; float: none; font-family: sans-serif,arial,verdana,"trebuchet ms"; font-size: 13px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; line-height: 20.8px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;">etc/bind/iptables</span> |
</blockquote> | </blockquote> | ||
Можно отредактировать конфиг с зонами и оставить там только необходимые переадресации (например оставить только Tvigle или IVI) | Можно отредактировать конфиг с зонами и оставить там только необходимые переадресации (например оставить только Tvigle или IVI) | ||
− | <blockquote | + | <blockquote> |
nano /etc/bind/named.conf.local | nano /etc/bind/named.conf.local | ||
</blockquote> | </blockquote> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| |