<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 3, 2022 at 3:52 AM Matus UHLAR - fantomas via Dnsmasq-discuss <<a href="mailto:dnsmasq-discuss@lists.thekelleys.org.uk">dnsmasq-discuss@lists.thekelleys.org.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"><br>
this is strange, my dnsmasq.conf (2.85, debian 11) states:<br>
<br>
# Provide an alias for a "local" DNS name. Note that this _only_ works<br>
# for targets which are names from DHCP or /etc/hosts. Give host<br>
# "bert" another name, bertrand<br>
#cname=bertand,bert<br></blockquote><div><br></div><div>Your config will work, because it is NOT from the same domain. The short name "bertand" in your config is considered a top domain by itself, so you can dig bertand. (ending dot), but you can't dig bertand.your.dhcp.domain. <br></div><div><br></div><div>You will see the issue if you add the same domain in the cname config, eg:</div><div>cname=bertand.your.dhcp.domain,bert</div><div><br></div><div>Frank</div><div><br></div><div> <br></div></div></div>