On Wed, Mar 2, 2022 at 3:45 PM Geoff Back <ge...@demonlair.co.uk> wrote:
> With 2.86, I have found that cname works if the target is declared in a > "host-record" line, but not if it is DHCP assigned. Even if it's given > a fixed IP address in a "dhcp-host" line. > > Thanks for confirming! I assume it also works for you if you use another/different dummy domain, with a dhcp target. The man page https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html says *--cname=<cname>,[<cname>,]<target>[,<TTL>]* Return a CNAME record which indicates that <cname> is really <target>. There is a significant limitation on the target; it must be a DNS record which is known to dnsmasq and NOT a DNS record which comes from an upstream server. 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. Frank
_______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss