<div dir="ltr">Thank you.<div><br></div><div>I don't want to use DDNS. I just got rid of it )</div><div><br></div><div>I want to bind host ip with ip resolved by dhcpd server from DNS.</div><div><br></div><div>I want to keep data about relation of host and ip address in static DNS zone. So to manually correct it, when neccessary.</div><div><br></div><div>To be honest my current ddns setup (you described it as second option) is not stable within a few years of operation. Errors occur frequently (YXDOMAIN, NXRRSET and so on). I have to constantly keep track of errors in syslog and manually edit zone to remove a,txt records if something is changed in the network (i.e client changed ip, not released ip an so on).</div><div><br></div><div>I can't find info what information is stored in txt records. It would be cool if someone suggested ))</div><div><br></div><div>So I was disappointed in ddns ((.<br></div><div><br></div><div>Excusme for bad english. )</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-24 16:18 GMT+03:00 dave c <span dir="ltr"><<a href="mailto:dhcp@gvtc.drakkar.org" target="_blank">dhcp@gvtc.drakkar.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You could drop down to something like this:<span class=""><br>
<br>
host callisto {hardware ethernet 00:25:33:44:80:55; }<br></span>
{repeating for all hosts}<br>
<br>
<br>
And in your DHCP pools you can use the directive:<br>
<br>
allow known hosts;<br>
<br>
Then only those hosts whose MAC addresses are predefined via host statements will get an address from DHCP (or from a specific pool in your subnet declarations). You could then use a dynamic dns update from the hosts back to your DNS server (or from DHCP to your DNS server) to make the host register itself into DNS.<br>
<br>
Second option I can think of, you could instead of using the system's hostname for the fixed-address, you could instead use the dotted 4 IP address and again turn on DNS update. Then you would only have to edit the DHCP hosts file instead of having to update DNS to predefine the hostnames -> dotted 4 IP connection and then use that hostname in the DHCP config.<br>
<br>
Other than that, we're not sure what it is you are trying to save.<br>
<br>
Dave<span class=""><br>
<br>
<br>
<br>
On 5/24/16 05:39, Vladimir Skubriev wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
[something] same for all hosts.<br>
<br>
So not to duplicate host hostname in fixed-address.<br>
<br>
As you can see host declaration composed of identical blocks.<br>
<br>
<br>
<br>
<br></span>
2016-05-24 13:31 GMT+03:00 Simon Hobson <<a href="mailto:dhcp1@thehobsons.co.uk" target="_blank">dhcp1@thehobsons.co.uk</a> <mailto:<a href="mailto:dhcp1@thehobsons.co.uk" target="_blank">dhcp1@thehobsons.co.uk</a>>>:<span class=""><br>
<br>
Vladimir Skubriev <<a href="mailto:skubriev@cvisionlab.com" target="_blank">skubriev@cvisionlab.com</a> <mailto:<a href="mailto:skubriev@cvisionlab.com" target="_blank">skubriev@cvisionlab.com</a>>> wrote:<br>
<br>
> Now I used following config strings:<br>
><br>
> ...<br>
> host callisto {<br>
> hardware ethernet 00:25:33:44:80:55;<br>
> fixed-address callisto;<br>
> }<br>
> ...<br>
><br>
> Is there a way not to be repeated in fixed-address and declaring only host-decl-names in host [hostname] directive?<br>
<br>
Sorry, I don't understand the question.<br>
<br>
> Something like this:<br>
><br>
> ...<br>
> host callisto {<br>
> hardware ethernet 00:25:33:44:80:55;<br>
> fixed-address [something];<br>
> }<br>
><br>
> host earth {<br>
> hardware ethernet 14:99:88:71:77;<br>
> fixed-address [something];<br>
> }<br>
> ...<br>
<br>
That will work, assuming that [something] represents either an IP address, or something that<br>
resolves (via DNS lookup) to an IP address.<br>
_______________________________________________<br>
dhcp-users mailing list<br></span>
<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a> <mailto:<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a>><span class=""><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
<br>
<br>
<br>
<br>
--<br>
Faithfully yours,<br>
<br>
CVision Lab System Administrator<br>
Vladimir Skubriev<br>
<br>
<br>
<br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
<br>
</span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
Dave Calafrancesco</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" rel="noreferrer" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Faithfully yours,<br></div><div><br></div><div>CVision Lab System Administrator</div><div>Vladimir Skubriev</div><div><br></div></div></div>
</div>