[Dnsmasq-discuss] syntax for cname= unclear

Olaf Hering olaf at aepfle.de
Thu Sep 17 14:19:20 BST 2020


The dnsmasq man page has no specific example for cname=, it is unclear what target really has to be. A more specific example exists for host-record=.

With the config snippet below the cnames are not known. Commands like 'host cname1 $ip_of_dnsmasq_host' work, but 'host cname1.dnsdomain $ip_of_dnsmasq_host' returns NXDOMAIN. Is the used syntax for "cname=" correct?

This happens with dnsmasq 2.78, which can not be easily upgraded.

Thanks,
Olaf

log-facility=/var/log/dnsmasq.log
interface=LAN
cache-size=150
domain=dnsdomain,172.16.0.0/16,local
resolv-file=/etc/resolv.conf.dhclient-UPLINK
conf-file=/path-to/host-records.conf

host-record=hostname,hostname.dnsdomain,172.16.0.2,fd00:172:16::0323:45ff:feab:cdef
dhcp-host=01:23:45:ab:cd:ef,set:hostname,hostname,216000
cname=cname1,hostname
cname=cname1.dnsdomain,hostname.dnsdomain
cname=cname2,hostname
cname=cname2.dnsdomain,hostname.dnsdomain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20200917/13e3590c/attachment.sig>


More information about the Dnsmasq-discuss mailing list