[Dnsmasq-discuss] Does dnsmasq support cname within same domain?
Geoff Back
geoff at demonlair.co.uk
Wed Mar 2 23:24:43 UTC 2022
On 02/03/2022 22:38, Frank Liu wrote:
>
>
> On Wed, Mar 2, 2022 at 2:13 PM Donald Muller <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
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.
Cheers,
Geoff.
>
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss
More information about the Dnsmasq-discuss
mailing list