[Dnsmasq-discuss] Does dnsmasq support cname within same domain?
Matus UHLAR - fantomas
uhlar at fantomas.sk
Thu Mar 3 11:30:08 UTC 2022
>On 02/03/2022 22:38, Frank Liu wrote:
>> 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?
this looks like mozilla messes up plaintext mail by converting text from
client1.internal.yourcompany.com
to
client1.internal.yourcompany.com<http://client1.internal.yourcompany.com>
..and I wanted to complain about Donald's outlook client which does the same
sh*t.
On 02.03.22 23:24, Geoff Back wrote:
>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.
this is strange, my dnsmasq.conf (2.85, debian 11) states:
# Provide an alias for a "local" DNS name. Note that this _only_ works
# for targets which are names from DHCP or /etc/hosts. Give host
# "bert" another name, bertrand
#cname=bertand,bert
I haven't tried that yet, but that would confirm this as a bug.
I usually put host names+IPS to /etc/hosts and ethernet addresses to
/etc/ethers, I believe this would solve this problem.
--
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
WinError #98652: Operation completed successfully.
More information about the Dnsmasq-discuss
mailing list