<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; BIND настройка]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=21263&amp;type=atom" />
	<updated>2012-03-29T08:41:39Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=21263</id>
		<entry>
			<title type="html"><![CDATA[Re: BIND настройка]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=264208#p264208" />
			<content type="html"><![CDATA[<p>Дык у меня зона &quot;точка&quot; не прописана</p><p>zone &quot;.&quot; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; type hint;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; file &quot;db.root&quot;;<br />};</p><p>я специально убрал запись такого вида. Да и db.root переместил за пределы directory&nbsp; &quot;/var/named&quot;;<br />Так что он не должен знать про корень ничего...</p>]]></content>
			<author>
				<name><![CDATA[DarkDigger]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20256</uri>
			</author>
			<updated>2012-03-29T08:41:39Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=264208#p264208</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: BIND настройка]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=264203#p264203" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>DarkDigger пишет:</cite><blockquote><p>Откуда bind берёт адреса?</p></blockquote></div><p>С корневых серверов цепочку раскручивает.</p>]]></content>
			<author>
				<name><![CDATA[neol]]></name>
				<uri>https://linuxforum.ru/profile.php?id=23</uri>
			</author>
			<updated>2012-03-29T08:31:35Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=264203#p264203</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: BIND настройка]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=264194#p264194" />
			<content type="html"><![CDATA[<p>Настроил у bind&nbsp; главный файл /etc/named.conf (iptables временно выключил)</p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>acl &quot;lan&quot; { 192.168.0.0/24;&nbsp; 127.0.0.1; };</p><p>options {<br />&nbsp; &nbsp; &nbsp; &nbsp; directory&nbsp; &nbsp; &nbsp; &nbsp;&quot;/var/named&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;listen-on { lan; };&nbsp; &nbsp; &nbsp; &nbsp; // пусть слушает только нужные интерфейсы<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;allow-query { lan; };&nbsp; &nbsp; &nbsp; // разрешить запросы только из локальной сети<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;allow-recursion { lan; };&nbsp; // рекурсивные запросы тоже только из локальной<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;allow-transfer { none; };&nbsp; // трансфер зон нам не нужен<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;version &quot;dns:)&quot;;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// не отображать версию DNS сервера при ответах<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;auth-nxdomain no;&nbsp; &nbsp; # для совместимости RFC1035<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;listen-on-v6 { none; };&nbsp; &nbsp; //IPv6 нам не нужен<br />};</p><p>logging {&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //логи<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;channel default_debug { file &quot;data/named.run&quot;; severity dynamic; };<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;channel &quot;misc&quot; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; file &quot;/var/named/logmisc/misc.log&quot; versions 4 size 4m;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print-time yes;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print-severity yes;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print-category yes;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; };</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; channel &quot;query&quot; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; file &quot;/var/named/logquery/query.log&quot; versions 4 size 4m;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print-time yes;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print-severity no;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; print-category no;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; };</p><br /><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; category default { &quot;misc&quot;; };<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; category queries { &quot;query&quot;; };<br />};</p></div></div><p>В ( options ) я специально НЕ добавил запись</p><p>forwarders { 8.8.8.8; }; //пересылать на 8.8.8.8</p><p>В браузере на другом компе, в котором днс стоит ай пи этого сервера я спокойно лазию в инете! Как??? (если сделать на сервере service named stop адрес на компе резолвится перестают, и в инете не полазиешь ) </p><p>В папке /var/named только логи! </p><p>логи запросов видны:</p><div class="fancy_spoiler_switcher"><div class="fancy_spoiler_switcher_header" data-lang-open="открыть спойлер" data-lang-close="скрыть спойлер"><strong>+</strong>&nbsp;открыть спойлер</div><div class="fancy_spoiler"><p>29-Mar-2012 07:45:03.913 client 192.168.0.8#60081: query: 6.0.168.192.in-addr.arpa IN PTR + (192.168.0.6)<br />29-Mar-2012 07:45:05.915 client 192.168.0.8#60082: query: mail.ru IN A + (192.168.0.6)<br />29-Mar-2012 07:45:05.955 client 192.168.0.8#60083: query: mail.ru IN AAAA + (192.168.0.6)<br />29-Mar-2012 07:45:09.277 client 192.168.0.8#60084: query: 6.0.168.192.in-addr.arpa IN PTR + (192.168.0.6)<br />29-Mar-2012 07:45:09.345 client 192.168.0.8#60085: query: mail.ru IN A + (192.168.0.6)<br />29-Mar-2012 07:45:09.349 client 192.168.0.8#60086: query: mail.ru IN AAAA + (192.168.0.6)<br />29-Mar-2012 07:46:55.821 client 127.0.0.1#43621: query: ya.ru IN A + (127.0.0.1)<br />29-Mar-2012 07:46:55.864 client 127.0.0.1#58141: query: 3.250.250.87.in-addr.arpa IN PTR + (127.0.0.1)<br />29-Mar-2012 07:47:12.919 client 127.0.0.1#47081: query: sdf.loc IN A + (127.0.0.1)<br />29-Mar-2012 07:47:17.522 client 127.0.0.1#58871: query: ya.ru IN A + (127.0.0.1)<br />29-Mar-2012 07:47:17.588 client 127.0.0.1#36846: query: 3.134.158.93.in-addr.arpa IN PTR + (127.0.0.1)<br />29-Mar-2012 07:47:28.043 client 192.168.0.8#56645: query: my.istel.ru IN A + (192.168.0.6)<br />29-Mar-2012 07:47:28.414 client 192.168.0.8#62235: query: sitecheck2.opera.com IN A + (192.168.0.6)<br />29-Mar-2012 07:47:29.063 client 192.168.0.8#54342: query: crl.usertrust.com IN A + (192.168.0.6)<br />29-Mar-2012 07:47:29.767 client 192.168.0.8#57751: query: ocsp.comodoca.com IN A + (192.168.0.6)<br />29-Mar-2012 07:47:57.417 client 192.168.0.8#52317: query: <a href="http://www.tns-counter.ru">www.tns-counter.ru</a> IN A + (192.168.0.6)<br />29-Mar-2012 07:47:57.418 client 192.168.0.8#56798: query: yandex.st IN A + (192.168.0.6)<br />29-Mar-2012 07:47:57.573 client 192.168.0.8#60903: query: mc.yandex.ru IN A + (192.168.0.6)</p></div></div><p>Откуда bind берёт адреса?</p>]]></content>
			<author>
				<name><![CDATA[DarkDigger]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20256</uri>
			</author>
			<updated>2012-03-29T08:20:34Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=264194#p264194</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: BIND настройка]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=263895#p263895" />
			<content type="html"><![CDATA[<p>Всем спасибо, буду разбираться. Если интересно потом могу конфиги с пояснениями выложить)</p>]]></content>
			<author>
				<name><![CDATA[DarkDigger]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20256</uri>
			</author>
			<updated>2012-03-28T16:04:43Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=263895#p263895</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: BIND настройка]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=263750#p263750" />
			<content type="html"><![CDATA[<p>самое первое место, куда следует идти при вопросах с настройкой чего-либо на RHEL, CentOS - документация вендора<br /><a href="http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-DNS_Servers.html">http://docs.redhat.com/docs/en-US/Red_H … rvers.html</a></p>]]></content>
			<author>
				<name><![CDATA[Hrafn]]></name>
			</author>
			<updated>2012-03-28T09:48:55Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=263750#p263750</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: BIND настройка]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=263716#p263716" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Lupo Alberto пишет:</cite><blockquote><p>Ссылка на указанную i2ks книгу — Книга — «варез» или нет?</p></blockquote></div><p>может хватит оффтопить? или ты свое ЧСВ+ЧСД поднимаешь?</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2012-03-28T08:07:34Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=263716#p263716</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: BIND настройка]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=263713#p263713" />
			<content type="html"><![CDATA[<p>Ссылка на указанную <strong>i2ks</strong> книгу — <a href="http://linuxforum.ru/viewtopic.php?pid=263689#p263689">Книга — «варез» или нет?</a></p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2012-03-28T07:57:24Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=263713#p263713</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: BIND настройка]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=263709#p263709" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>DarkDigger пишет:</cite><blockquote><p>Ребят, может подскажите по конфигу? Может имеет смысл другой dns сервер поставить? Про mydns что можете сказать?</p></blockquote></div><p>может все же ты почитаешь книжку?</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2012-03-28T07:48:00Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=263709#p263709</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: BIND настройка]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=263707#p263707" />
			<content type="html"><![CDATA[<p>Ребят, может подскажите по конфигу? Может имеет смысл другой dns сервер поставить? Про mydns что можете сказать?</p>]]></content>
			<author>
				<name><![CDATA[DarkDigger]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20256</uri>
			</author>
			<updated>2012-03-28T07:43:50Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=263707#p263707</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: BIND настройка]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=263697#p263697" />
			<content type="html"><![CDATA[<p>Задача вот в чём: В локальной сети есть (пока нет, но в процессе )зона domen.loc, то есть есть машины komp.domen.loc printer.domen.loc ...... и почтовый сервер mail.domen.loc<br />Нужно что бы почтовый клиент (на компе у пользователя) стоял pop/smtp mail.domen.loc портал открывался по portal.domen.loc <br />Но если написать ya.ru dns сервер отправлял запрос например на 8.8.8.8</p>]]></content>
			<author>
				<name><![CDATA[DarkDigger]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20256</uri>
			</author>
			<updated>2012-03-28T07:29:15Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=263697#p263697</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: BIND настройка]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=263691#p263691" />
			<content type="html"><![CDATA[<p>Могу дать ссылку по настройке master и slave для центоса. Точнее видео есть.</p>]]></content>
			<author>
				<name><![CDATA[XliN]]></name>
				<uri>https://linuxforum.ru/profile.php?id=6412</uri>
			</author>
			<updated>2012-03-28T07:03:57Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=263691#p263691</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: BIND настройка]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=263688#p263688" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>verg пишет:</cite><blockquote><p>Типа такого: <a href="http://www.oslinux.ru/articles/16-05-2008/posted-by-srgaz/краткое-руководство-по-настройки-сервиса-named-bind9-dns-сервер-в-gnulinux-на-пр">http://www.oslinux.ru/articles/16-05-20 … inux-на-пр</a></p><p>з.ы. вторая ссылка в гугле по: &quot;мануал по настройке dns сервера под centos&quot;</p><p>А это первая: <a href="http://www.opennet.ru/docs/RUS/dns2/">http://www.opennet.ru/docs/RUS/dns2/</a></p></blockquote></div><p>Спасибо конечно, но по нему ничего не понятно. Там просто пиводят примеры конфигов, а что за что отвечает не понятно... Это про вторую ссылку, а первую читаю)</p>]]></content>
			<author>
				<name><![CDATA[DarkDigger]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20256</uri>
			</author>
			<updated>2012-03-28T06:57:06Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=263688#p263688</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: BIND настройка]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=263687#p263687" />
			<content type="html"><![CDATA[<p><a href="http://wiki.russianfedora.ru/index.php/DNS_%D1%81%D0%B5%D1%80%D0%B2%D0%B5%D1%80">http://wiki.russianfedora.ru/index.php/ … 0%B5%D1%80</a> сойдёт?</p>]]></content>
			<author>
				<name><![CDATA[Vascom]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5339</uri>
			</author>
			<updated>2012-03-28T06:56:02Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=263687#p263687</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: BIND настройка]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=263686#p263686" />
			<content type="html"><![CDATA[<p>Типа такого: <a href="http://www.oslinux.ru/articles/16-05-2008/posted-by-srgaz/краткое-руководство-по-настройки-сервиса-named-bind9-dns-сервер-в-gnulinux-на-пр">http://www.oslinux.ru/articles/16-05-20 … inux-на-пр</a></p><p>з.ы. вторая ссылка в гугле по: &quot;мануал по настройке dns сервера под centos&quot;</p><p>А это первая: <a href="http://www.opennet.ru/docs/RUS/dns2/">http://www.opennet.ru/docs/RUS/dns2/</a></p>]]></content>
			<author>
				<name><![CDATA[verg]]></name>
				<uri>https://linuxforum.ru/profile.php?id=10709</uri>
			</author>
			<updated>2012-03-28T06:54:54Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=263686#p263686</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: BIND настройка]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=263683#p263683" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>i2ks пишет:</cite><blockquote><p>Нет такого мануала специально для CentOS.</p></blockquote></div><p>Ну и ладно, пусть для другого дистрибутива линукс, самое главное что бы по русски...</p>]]></content>
			<author>
				<name><![CDATA[DarkDigger]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20256</uri>
			</author>
			<updated>2012-03-28T06:53:09Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=263683#p263683</id>
		</entry>
</feed>
