Re: Short Name Resolution

Tim Garay via Pdns-users <[email protected]>
Newsgroups gmane.network.dns.powerdns.user
Message-ID <[email protected]>
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 <[email protected]> 
Sent: Wednesday, November 29, 2023 4:24 PM
To: All about using and deploying powerdns <[email protected]>
Cc: [email protected]
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

_______________________________________________
Pdns-users mailing list
[email protected]
https://mailman.powerdns.com/mailman/listinfo/pdns-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.