<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; dhcpd не обновляет dns записи]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=16732&amp;type=atom" />
	<updated>2011-09-23T13:18:08Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=16732</id>
		<entry>
			<title type="html"><![CDATA[Re: dhcpd не обновляет dns записи]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=214400#p214400" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[XliN]]></name>
				<uri>https://linuxforum.ru/profile.php?id=6412</uri>
			</author>
			<updated>2011-09-23T13:18:08Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=214400#p214400</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: dhcpd не обновляет dns записи]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=214394#p214394" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[XliN]]></name>
				<uri>https://linuxforum.ru/profile.php?id=6412</uri>
			</author>
			<updated>2011-09-23T13:14:48Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=214394#p214394</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: dhcpd не обновляет dns записи]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=214374#p214374" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2011-09-23T12:29:03Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=214374#p214374</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: dhcpd не обновляет dns записи]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=214367#p214367" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>i2ks пишет:</cite><blockquote><p><strong>semperN</strong>, клиент хочет обновить файл зоны? настройте клиенты корректно.</p></blockquote></div><p>ммм не совсем понял.. Клиенты windows xp. <br />Разве не сам dhcpd должен обновлять файл зон?</p>]]></content>
			<author>
				<name><![CDATA[semperN]]></name>
				<uri>https://linuxforum.ru/profile.php?id=17449</uri>
			</author>
			<updated>2011-09-23T12:00:00Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=214367#p214367</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: dhcpd не обновляет dns записи]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=214364#p214364" />
			<content type="html"><![CDATA[<p><strong>semperN</strong>, клиент хочет обновить файл зоны? настройте клиенты корректно.</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2011-09-23T11:55:56Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=214364#p214364</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: dhcpd не обновляет dns записи]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=214362#p214362" />
			<content type="html"><![CDATA[<p>права доступа на зоны ngdb и 192.168.0 выглядят так -rw-r--r-- 1 named named</p><p>Подскажите пожалуйста где капать..</p>]]></content>
			<author>
				<name><![CDATA[semperN]]></name>
				<uri>https://linuxforum.ru/profile.php?id=17449</uri>
			</author>
			<updated>2011-09-23T11:48:29Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=214362#p214362</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[dhcpd не обновляет dns записи]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=214361#p214361" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[semperN]]></name>
				<uri>https://linuxforum.ru/profile.php?id=17449</uri>
			</author>
			<updated>2011-09-23T11:46:21Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=214361#p214361</id>
		</entry>
</feed>
