[Dnsmasq-discuss] Does dnsmasq support cname within same domain?

hamish at moffatt.email hamish at moffatt.email
Thu Mar 3 01:13:18 UTC 2022


On 3/3/22 11:49, Frank Liu wrote:
>
> dhcp target should work since it is known to dnsmasq. A name from a 
> different dummy domain cname to dhcp target confirms working. The 
> issue seems to be only within the same domain.
>

I have:

dhcp-host=<mac>,192.168.42.18,[::0:18],somehostname

cname=somealias.mydomain,somehostname


This is working fine. I have version 2.80 (on OpenWRT 19.07).

I see one difference to yours is that the target of the cname is only a 
hostname and not the full domain. Does it work for you if you make that 
change?



Hamish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20220303/ac3b9fd3/attachment.htm>


More information about the Dnsmasq-discuss mailing list