<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 2, 2022 at 3:45 PM Geoff Back <<a href="mailto:geoff@demonlair.co.uk">geoff@demonlair.co.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
With 2.86, I have found that cname works if the target is declared in a<br>
"host-record" line, but not if it is DHCP assigned. Even if it's given<br>
a fixed IP address in a "dhcp-host" line.<br>
<br></blockquote><div><br></div><div>Thanks for confirming!</div><div>I assume it also works for you if you use another/different dummy domain, with a dhcp target.</div><div><br></div><div>The man page <a href="https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html">https://thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html</a> says <br></div><div><dt><b>--cname=<cname>,[<cname>,]<target>[,<TTL>]</b>
</dt><dd>
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. </dd></div><div><br></div><div>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.</div><div><br></div><div>Frank<br></div><div><br></div><div><br></div><div><br></div><div><br> </div></div></div>