That is a DHCP option that is passed to the DHCP client. It is up to the client 
to add the suffix to its DNS requests.

Don

From: Dnsmasq-discuss <dnsmasq-discuss-boun...@lists.thekelleys.org.uk> On 
Behalf Of Dave Sullivan
Sent: Monday, August 17, 2020 3:15 PM
To: dnsmasq-discuss@lists.thekelleys.org.uk
Subject: [Dnsmasq-discuss] adding domain suffix search to dns forward

Hi All,

Is there a way to get dnsmasq to provide additional search domain suffix to an 
'A' query and forward that query to any number of added search domains.

Seems like dhcp-option would be the right place per [0]

"DHCP option 15: specifies the domain name that client should use as suffix 
when resolving hostnames via the Domain Name System"

However, when doing a dig/nslookup using a shortname and looking at the 
dnsmasq.log it doesn't seem to add the domain suffix.

Am I missing something here?

Maybe dhcp-option is only for dhcp requests and not implied for dns forward.

Any ideas?

Thanks,

Dave

[0] https://www.efficientip.com/glossary/dhcp-option/



--
==================================================================
Dave Sullivan RHCE                     Email: 
dsull...@redhat.com<mailto:dsull...@redhat.com>
Sr. OpenShift And Middleware Technical Account Manager

+1 312 660 3525 (Office)
+1 804 837 8924 (Cell)
==================================================================
Red Hat, Inc. | 100 East Davie St | Raleigh, NC | 27601

Partnering with you to help achieve your business goals.

http://www.redhat.com
http://access.redhat.com
http://www.opensource.com
_______________________________________________
Dnsmasq-discuss mailing list
Dnsmasq-discuss@lists.thekelleys.org.uk
http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Reply via email to