[Dnsmasq-discuss] adding domain suffix search to dns forward

Matthias May matthias.may at westermo.com
Tue Aug 18 00:34:29 BST 2020


On 17/08/2020 23:20, Donald Muller wrote:
>
> 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-bounces at lists.thekelleys.org.uk> *On Behalf Of *Dave
> Sullivan
> *Sent:* Monday, August 17, 2020 3:15 PM
> *To:* dnsmasq-discuss at 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/
> <https://urldefense.com/v3/__https://www.efficientip.com/glossary/dhcp-option/__;!!I9LPvj3b!VOU_rdArTMIeUnkeiBmiGkPS7M_1aTfGztHqFjoDnmDKA5lf0btXFs26FU_Io4dtShU$>
>
>  
>
>  
>
>  
>
> -- 
>
> ==================================================================
>
> Dave Sullivan RHCE                     Email: dsulliva at redhat.com
> <mailto:dsulliva at 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
> <https://urldefense.com/v3/__http://www.redhat.com__;!!I9LPvj3b!VOU_rdArTMIeUnkeiBmiGkPS7M_1aTfGztHqFjoDnmDKA5lf0btXFs26FU_Izbwlwvk$>
>
> http://access.redhat.com
> <https://urldefense.com/v3/__http://access.redhat.com__;!!I9LPvj3b!VOU_rdArTMIeUnkeiBmiGkPS7M_1aTfGztHqFjoDnmDKA5lf0btXFs26FU_IpWHsIZc$>
>
> http://www.opensource.com
> <https://urldefense.com/v3/__http://www.opensource.com__;!!I9LPvj3b!VOU_rdArTMIeUnkeiBmiGkPS7M_1aTfGztHqFjoDnmDKA5lf0btXFs26FU_IB22T8zI$>
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> https://urldefense.com/v3/__http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss__;!!I9LPvj3b!VOU_rdArTMIeUnkeiBmiGkPS7M_1aTfGztHqFjoDnmDKA5lf0btXFs26FU_I-wLEFtY$ 


Also DHCP option 119 is probably more appropriate than option 15, since
it allows an actual list.

BR
Matthias



More information about the Dnsmasq-discuss mailing list