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

Donald Muller donmuller22 at outlook.com
Thu Mar 3 03:08:13 UTC 2022


Sorry there was a cut and paste mistake on my part. It should be

cname=alias.test.example.com<http://alias.test.example.com>,alias.dummy.example.com<http://alias.dummy.example.com>,client1.test.example.com<http://client1.test.example.com>


From: Frank Liu <gfrankliu at gmail.com>
Sent: Wednesday, March 2, 2022 5:39 PM
To: Donald Muller <donmuller22 at outlook.com>
Cc: Matus UHLAR - fantomas <uhlar at fantomas.sk>; dnsmasq-discuss at lists.thekelleys.org.uk
Subject: Re: [Dnsmasq-discuss] Does dnsmasq support cname within same domain?



On Wed, Mar 2, 2022 at 2:13 PM Donald Muller <donmuller22 at outlook.com<mailto:donmuller22 at outlook.com>> wrote:

What if you try

cname=alias.test.example.com<http://alias.test.example.com>,client1.test.example.com<http://client1.test.example.com>,alias.dummy.example.com<http://alias.dummy.example.com>,client1.test.example.com<http://client1.test.example.com>

Does it work?

No, dnsmasq fails to start, with "CNAME loop" error.

Can anyone try to add cname for same domain, and see if it works for you?
Assuming your dhcp domain is internal.yourcompany.com<http://internal.yourcompany.com>, with an existing dhcp client client1, please add
cname=testalias.internal.yourcompany.com<http://testalias.internal.yourcompany.com>,client1.internal.yourcompany.com<http://client1.internal.yourcompany.com>
and check if testalias.internal.yourcompany.com<http://testalias.internal.yourcompany.com> resolves?

Thanks!
Frank


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


More information about the Dnsmasq-discuss mailing list