<div dir="ltr"><div dir="ltr"><div dir="ltr">Hello everyone<div><br></div><div>I am quite desperate with some CNAMES and would appreciate any help.</div><div>I have a DHCP device (switch-3) which gets it address via dnsmasq. I can ping it and dig @<a href="http://127.0.0.1">127.0.0.1</a> (on the host with dnsmasq) shows its IP.<br></div><div><br></div><div>The strange thing is that a dig for switch-3 and for <a href="http://switch-3.swtk.info">switch-3.swtk.info</a> (the FQDN, expanded thanks to host-expand) return the same IP, but the first one has a TTL of 0 and the second one of 600. No idea why. Both ping fine (as the IP is the same)</div><div><br></div><div>I then wanted to add a CNAME for ch1-lampe-bureau which would point to switch-3 and I tried to add</div><div><br></div><div>cname=ch1-lampe-bureau,switch-3</div><div><br></div><div>as well as all combinations of FQDN (on both the CNAME and target). None of them work, a dig does not show the CNAME.</div><div><br></div><div>At the same time, when doing an AXFR from another host I get</div><div><br></div><div><a href="http://ch1-lampe-bureau.swtk.info">ch1-lampe-bureau.swtk.info</a>. 600 IN      CNAME   <a href="http://switch-3.swtk.info">switch-3.swtk.info</a>.<br></div><div><br></div><div>I am lost at understanding how this works: apparently dnsmasq knows about the CNAME but does not provide it (except to an AXFR).</div><div><br></div><div>Any ideas really welcome, thanks.</div><div><br></div><div><br></div></div></div></div>