<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Linux Forum &mdash; dhcpd не обновляет dns записи]]></title>
		<link>https://linuxforum.ru/viewtopic.php?id=16732</link>
		<atom:link href="https://linuxforum.ru/extern.php?action=feed&amp;tid=16732&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «dhcpd не обновляет dns записи».]]></description>
		<lastBuildDate>Fri, 23 Sep 2011 13:18:08 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: dhcpd не обновляет dns записи]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=214400#p214400</link>
			<description><![CDATA[<p>И что бы была привязка bind к DDNS в начале dhcpd.conf есть строчки</p><div class="quotebox"><blockquote><p><strong>include &quot;/var/named/chroot/etc/rndc.key&quot;;</strong></p><p><strong>ddns-update-style interim;</strong><br />authoritative;<br />option netbios-scope &quot;&quot;;</p><p>zone mgkb1.local. {<br />&nbsp; &nbsp; primary 192.168.1.77;<br />&nbsp; &nbsp; <strong>key &quot;rndckey&quot;;</strong><br />}</p><p>zone 168.192.in-addr.arpa. {<br />&nbsp; &nbsp; primary 192.168.1.77;<br />&nbsp; &nbsp; <strong>key &quot;rndckey&quot;;</strong><br />}</p></blockquote></div><p>Так же и в named.conf перед тем как описывать зоны я подгружаю ключ и потом только описываю</p><div class="quotebox"><blockquote><p><strong>include &quot;/etc/rndc.key&quot;;</strong></p><p>zone &quot;mgkb1.local&quot; IN {<br />&nbsp; &nbsp; &nbsp; &nbsp; type master;<br />&nbsp; &nbsp; &nbsp; &nbsp; file &quot;mgkb1.local&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; allow-update { key rndckey; };<br />};</p><p>zone &quot;168.192.in-addr.arpa&quot; IN {<br />&nbsp; &nbsp; &nbsp; &nbsp; type master;<br />&nbsp; &nbsp; &nbsp; &nbsp; file &quot;168.192.rev&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; allow-update { key rndckey; };<br />};</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (XliN)]]></author>
			<pubDate>Fri, 23 Sep 2011 13:18:08 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=214400#p214400</guid>
		</item>
		<item>
			<title><![CDATA[Re: dhcpd не обновляет dns записи]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=214394#p214394</link>
			<description><![CDATA[<p>А по моему проблема в том, что не верные конфиги. Маловаты например для dhcpd<br />Вот мой пример, секция subnet в которой и описываем что выдавать и от куда<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">subnet 192.168.1.0 netmask 255.255.255.0 {</p><p>&nbsp; &nbsp; &nbsp; &nbsp; range 192.168.1.100 192.168.1.190;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; ddns-updates on;<br />&nbsp; &nbsp; &nbsp; &nbsp; ddns-domainname &quot;mgkb1.local&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; ddns-rev-domainname &quot;in-addr.arpa&quot;;</p><br /><p>&nbsp; &nbsp; &nbsp; &nbsp; option routers&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 192.168.1.77;<br />&nbsp; &nbsp; &nbsp; &nbsp; option subnet-mask&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 255.255.255.0;<br />&nbsp; &nbsp; &nbsp; &nbsp; option broadcast-address&nbsp; &nbsp; &nbsp; &nbsp; 192.168.1.255;<br />&nbsp; &nbsp; &nbsp; &nbsp; option domain-name&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;mgkb1.local&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; option domain-name-servers&nbsp; &nbsp; &nbsp; 192.168.1.77, 192.168.3.223;<br />&nbsp; &nbsp; &nbsp; &nbsp; option netbios-name-servers&nbsp; &nbsp; &nbsp;192.168.1.77;<br />&nbsp; &nbsp; &nbsp; &nbsp; option netbios-node-type 8;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; option ip-forwarding off;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; default-lease-time 86400;<br />&nbsp; &nbsp; &nbsp; &nbsp; max-lease-time 86400;<br />&nbsp; &nbsp; &nbsp; &nbsp; use-host-decl-names true;<br />}<br /></div><br />От сюда наверное ты и получаешь запись вида <br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">Sep 23 15:09:18 compgd dhcpd: DHCPINFORM from 192.168.0.133 via eth0: not authoritative for subnet 192.168.0.0<br />Sep 23 15:09:21 compgd dhcpd: DHCPINFORM from 192.168.0.133 via eth0: not authoritative for subnet 192.168.0.0</div><br />Получается как будто не описаны настройки для этой сети.<br />Может и из-за этого и ругается named. Ну это только предположение.</p>]]></description>
			<author><![CDATA[null@example.com (XliN)]]></author>
			<pubDate>Fri, 23 Sep 2011 13:14:48 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=214394#p214394</guid>
		</item>
		<item>
			<title><![CDATA[Re: dhcpd не обновляет dns записи]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=214374#p214374</link>
			<description><![CDATA[<div class="quotebox"><cite>semperN пишет:</cite><blockquote><p> client 192.168.0.104#3845: update &#039;ngdbnet.local/IN&#039; denied<br />Sep 23 15:05:35 compgd named[15945]: client 192.168.0.111#1629: update &#039;ngdbnet.local/IN&#039; denied<br />Sep 23 15:06:17 compgd named[15945]: client 192.168.0.133#65066: update &#039;ngdbnet.local/IN&#039; denied</p></blockquote></div><p>вот ваши клиенты.<br /></p><div class="quotebox"><cite>semperN пишет:</cite><blockquote><p>Клиенты windows xp.</p></blockquote></div><p>в сетевых настройках вроде бы надо галку снять.<br /></p><div class="quotebox"><cite>semperN пишет:</cite><blockquote><p>Разве не сам dhcpd должен обновлять файл зон?</p></blockquote></div><p>Да должен.<br /></p><div class="quotebox"><cite>semperN пишет:</cite><blockquote><p> allow-update {key DHCP_UPDATER; };</p></blockquote></div><p>ну вот же указанно, почитайте еще вот здесь <a href="http://www.semicomplete.com/articles/dynamic-dns-with-dhcp/">тыц]</a></p>]]></description>
			<author><![CDATA[null@example.com (i2ks)]]></author>
			<pubDate>Fri, 23 Sep 2011 12:29:03 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=214374#p214374</guid>
		</item>
		<item>
			<title><![CDATA[Re: dhcpd не обновляет dns записи]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=214367#p214367</link>
			<description><![CDATA[<div class="quotebox"><cite>i2ks пишет:</cite><blockquote><p><strong>semperN</strong>, клиент хочет обновить файл зоны? настройте клиенты корректно.</p></blockquote></div><p>ммм не совсем понял.. Клиенты windows xp. <br />Разве не сам dhcpd должен обновлять файл зон?</p>]]></description>
			<author><![CDATA[null@example.com (semperN)]]></author>
			<pubDate>Fri, 23 Sep 2011 12:00:00 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=214367#p214367</guid>
		</item>
		<item>
			<title><![CDATA[Re: dhcpd не обновляет dns записи]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=214364#p214364</link>
			<description><![CDATA[<p><strong>semperN</strong>, клиент хочет обновить файл зоны? настройте клиенты корректно.</p>]]></description>
			<author><![CDATA[null@example.com (i2ks)]]></author>
			<pubDate>Fri, 23 Sep 2011 11:55:56 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=214364#p214364</guid>
		</item>
		<item>
			<title><![CDATA[Re: dhcpd не обновляет dns записи]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=214362#p214362</link>
			<description><![CDATA[<p>права доступа на зоны ngdb и 192.168.0 выглядят так -rw-r--r-- 1 named named</p><p>Подскажите пожалуйста где капать..</p>]]></description>
			<author><![CDATA[null@example.com (semperN)]]></author>
			<pubDate>Fri, 23 Sep 2011 11:48:29 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=214362#p214362</guid>
		</item>
		<item>
			<title><![CDATA[dhcpd не обновляет dns записи]]></title>
			<link>https://linuxforum.ru/viewtopic.php?pid=214361#p214361</link>
			<description><![CDATA[<p>На сервере fedora 12 поднят dns+dhcpd. Но с недавних пор в логах появилась такая запись:<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">Sep 23 15:04:39 compgd named[15945]: client 192.168.0.104#3845: update &#039;ngdbnet.local/IN&#039; denied<br />Sep 23 15:05:35 compgd named[15945]: client 192.168.0.111#1629: update &#039;ngdbnet.local/IN&#039; denied<br />Sep 23 15:06:17 compgd named[15945]: client 192.168.0.133#65066: update &#039;ngdbnet.local/IN&#039; denied<br />Sep 23 15:09:18 compgd dhcpd: DHCPINFORM from 192.168.0.133 via eth0: not authoritative for subnet 192.168.0.0<br />Sep 23 15:09:21 compgd dhcpd: DHCPINFORM from 192.168.0.133 via eth0: not authoritative for subnet 192.168.0.0<br />Sep 23 15:09:52 compgd named[15945]: client 192.168.0.117#55186: update &#039;ngdbnet.local/IN&#039; denied<br />Sep 23 15:18:13 compgd named[15945]: client 192.168.0.130#1206: update &#039;ngdbnet.local/IN&#039; denied<br />Sep 23 15:20:01 compgd dhcpd: DHCPDISCOVER from 00:81:87:9c:03:82 (303kab) via eth0<br />Sep 23 15:20:02 compgd dhcpd: DHCPOFFER on 192.168.0.137 to 00:81:87:9c:03:82 (303kab) via eth0<br />Sep 23 15:20:06 compgd dhcpd: DHCPDISCOVER from 00:81:87:9c:03:82 (303kab) via eth0<br />Sep 23 15:20:06 compgd dhcpd: DHCPOFFER on 192.168.0.137 to 00:81:87:9c:03:82 (303kab) via eth0<br />Sep 23 15:20:06 compgd dhcpd: Wrote 48 leases to leases file.</div></p><p>сами конфиги выглядит так:<br />dhcpd.conf<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">ddns-updates on;<br />ddns-update-style interim;<br />log-facility local7;<br />use-host-decl-names true;<br />ignore client-updates;<br />option domain-name &quot;ngdbnet.local&quot;;<br />option domain-name-servers 192.168.0.99;<br />option subnet-mask 255.255.255.0;</p><p>key DHCP_UPDATER {<br />&nbsp; &nbsp; &nbsp; &nbsp; algorithm HMAC-MD5;<br />&nbsp; &nbsp; &nbsp; &nbsp; secret&nbsp; &nbsp;key;<br />};</p><p>zone NGDBNET.LOCAL. {<br />&nbsp; &nbsp; &nbsp; &nbsp; primary 127.0.0.1;<br />&nbsp; &nbsp; &nbsp; &nbsp; key DHCP_UPDATER;<br />}</p><p>zone 0.168.192.IN-ADDR.ARPA. {<br />&nbsp; &nbsp; &nbsp; &nbsp; primary 127.0.0.1;<br />&nbsp; &nbsp; &nbsp; &nbsp; key DHCP_UPDATER;<br />}</p><p>subnet 192.168.0.0 netmask 255.255.255.0 {<br />range 192.168.0.102 192.168.0.150;<br />option routers 192.168.0.99;<br />}<br /></div></p><p>named.conf</p><p><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">acl &quot;ngdbnet&quot; {192.168.0.0/24;};</p><p>options {<br />listen-on port 53 { ngdbnet; 127.0.0.1; };<br />directory &quot;/var/named&quot;;<br />dump-file &quot;/var/named/data/cache_dump.db&quot;;<br />statistics-file &quot;/var/named/data/named_stats.txt&quot;;<br />memstatistics-file &quot;/var/named/data/named_mem_stats.txt&quot;;<br />allow-query {ngdbnet; 127.0.0.1; };<br />allow-transfer {192.168.0.96;};<br />#check-names master ignore;<br />forward first;<br />forwarders {172.16.0.14; 172.16.0.186; };<br />dnssec-enable yes;<br />dnssec-validation yes;<br />dnssec-lookaside . trust-anchor dlv.isc.org.;<br />};</p><p>key DHCP_UPDATER {<br />&nbsp; &nbsp; &nbsp; &nbsp; algorithm HMAC-MD5;<br />&nbsp; &nbsp; &nbsp; &nbsp; secret&nbsp; key;<br />};</p><p>logging {<br />&nbsp; &nbsp; &nbsp; &nbsp; channel default_debug {<br />&nbsp; &nbsp; &nbsp; &nbsp; file &quot;data/named-update.log&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; severity debug 3;<br />&nbsp; &nbsp; &nbsp; &nbsp; print-category yes;<br />&nbsp; &nbsp; &nbsp; &nbsp; print-severity yes;<br />&nbsp; &nbsp; &nbsp; &nbsp; print-time yes;<br />&nbsp; &nbsp; &nbsp; &nbsp; };<br />&nbsp; &nbsp; &nbsp; &nbsp; channel default_debug {<br />&nbsp; &nbsp; &nbsp; &nbsp; file &quot;data/auth.log&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; severity info;<br />&nbsp; &nbsp; &nbsp; &nbsp; print-category yes;<br />&nbsp; &nbsp; &nbsp; &nbsp; print-severity yes;<br />&nbsp; &nbsp; &nbsp; &nbsp; print-time yes;<br />&nbsp; &nbsp; &nbsp; &nbsp; };zone &quot;ngdbnet.local&quot; {<br />&nbsp; &nbsp; &nbsp; &nbsp; type master;<br />&nbsp; &nbsp; &nbsp; &nbsp; file &quot;master/ngdb&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; allow-update {key DHCP_UPDATER; };<br />};</p><br /><p>zone &quot;0.168.192.in-addr.arpa&quot; {<br />&nbsp; &nbsp; &nbsp; &nbsp; type master;<br />&nbsp; &nbsp; &nbsp; &nbsp; file &quot;192.168.0&quot;;<br />&nbsp; &nbsp; &nbsp; &nbsp; allow-update {key DHCP_UPDATER; };<br />};</p><br /><p>zone &quot;.&quot; {<br />&nbsp; &nbsp; &nbsp; &nbsp; type hint;<br />&nbsp; &nbsp; &nbsp; &nbsp; file &quot;named.ca&quot;;<br />};</p><p>include &quot;/etc/named.rfc1912.zones&quot;;<br />include &quot;/etc/named.iscdlv.key&quot;;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; category update { default_debug; };<br />&nbsp; &nbsp; &nbsp; &nbsp; category security { default_debug; };<br />};</p><p></div></p>]]></description>
			<author><![CDATA[null@example.com (semperN)]]></author>
			<pubDate>Fri, 23 Sep 2011 11:46:21 +0000</pubDate>
			<guid>https://linuxforum.ru/viewtopic.php?pid=214361#p214361</guid>
		</item>
	</channel>
</rss>
