how to put a host into DNS subdomain?

Simon Hobson dhcp1 at
Wed Feb 24 17:10:33 UTC 2016

lejeczek <peljasz at> wrote:

> I'm trying something simple, or I thought it'd be simple
> for organizational, or for test if you like, purposes I would like to have
> (so no delegations, just in parent zone) - this works with nsupdate simply:
> > zone
> > update add 86400 in a
> > send
> $ host host.subdomain
> and it resolves fine, and if I fix my resolv.conf respectively it even resolves host
> but I don't know how to achieve above with dhcpd + ddns.
> Would it be the hosts(dhcp clients) I should be looking at?
> Ideally would be a capacity to do it inside dhcpd.

It might be that you just need to define in dhcpd.conf - with the same key as is used for Then dhcpd will send updates to bind using the right key, while bind actually applies the updates to the zone. From memory the updates are all done as FQDN so it's up to bind to determine which zone the update applies to.

Though it's a lot of years since I set something like that up. You might need to do is define as a separate zone in bind and then it would work. Is there any specific reason you can't do that ?

More information about the dhcp-users mailing list