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

Geert Stappers stappers at stappers.nl
Tue Mar 1 11:26:29 UTC 2022


On Tue, Mar 01, 2022 at 01:01:51AM -0800, Frank Liu wrote:
> Hi,
> 
> I am running dnsmasq for dhcp/dns of a local test domain: test.example.com.
> Everything works fine. When a dhcp client (eg: client1) comes up, it gets
> the IP from dnsmasq, and I can dig/nslookup client1.test.example.com to get
> its IP.
> 
> When I add a cname in the same domain, eg:
> cname=alias.test.example.com,client1.test.example.com
> 
> dig/nslookup of alias.test.example.com only returns name
> client1.test.example.com, not the actual IP of client1.test.example.com
> 
> It's interesting that if I add the cname for a different domain, eg:
> cname=alias.dummy.example.com,client1.test.example.com
> 
> dig/nslookup of alias.dummy.example.com will return both name
> client1.test.example.com and its IP.
> 
> I tried a few different versions but that doesn't make a difference.

Please name those different versions.

 
> Is this a known issue/limitation?

What is the actual question?
Please, pretty please, consult http://www.catb.org/~esr/faqs/smart-questions.html
before my "what is the problem"question.


Groeten
Geert Stappers
-- 
Silence is hard to parse



More information about the Dnsmasq-discuss mailing list