[Pdns-users] Short Name Resolution

tim at garayfam.com tim at garayfam.com
Wed Nov 29 21:32:13 UTC 2023


So, create my local domain (something.lan) and put all my entries in that then configure the clients to use something.lan as the default search domain?

 

 

From: Brian Candler <b.candler at pobox.com> 
Sent: Wednesday, November 29, 2023 4:24 PM
To: All about using and deploying powerdns <pdns-users at mailman.powerdns.com>
Cc: tim at garayfam.com
Subject: Re: [Pdns-users] Short Name Resolution

 

On 29/11/2023 20:27, Tim Garay via Pdns-users wrote:

How can I setup PDNS to resolve short names?

 

I would like to be able to resolve something like “testserver” to 192.168.1.1.  No domain.

Generally this is the job of the stub resolver on the client, to expand "testserver" to "testserver.some.domain", by configuring it to retry queries which fail by adding "some.domain" to them.

Most clients will honour a DHCP parameter for the search domain. For example, a Linux client may put the setting "search some.domain" in /etc/resolv.conf

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20231129/6bf0f26c/attachment-0001.htm>


More information about the Pdns-users mailing list