-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 If the local host's IP address is in /etc/hosts (which is normal), then you can create a CNAME to it. Otherwise, myabe use - --interface-name to create a name for the local host, and make CNAMEs to that?
Cheers, Simon. On 15/11/15 18:57, Malte Forkel wrote: > Hi, > > I'm using cname options in dnsmasq.conf to specify logical names > for hosts on the local network. This does not seem to work if the > target is the local host; dnsmasq can't resolve the logical name. > > According to the manual, a cname target "must be a DNS name which > is known to dnsmasq from /etc/hosts (or additional hosts files), > from DHCP, from --interface-name or from another --cname". > > For now, I have added a line to an existing additional hosts file > assigning the local host's IP address to the logical name. Is there > a more eleqant solution, e.g. an option in dnsmasq.conf, may be > even involving cname after all? > > Thanks in advance, Malte > > > _______________________________________________ Dnsmasq-discuss > mailing list Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBCAAGBQJWSktjAAoJEBXN2mrhkTWiJaQQAIZcT6EAPY8+us9QHPXjVv42 PAoN8yNAUYKEG0OWGbxa6LzHoPbpwfM1Yd+n/JtAr/q0EtZidS6SG86fW0DAXWfo stjcs/0zrZFnP18sUnwNY0D+uR0L1HWPG4R0O05Ymlu4vPY6i1FYBxfr+OHKU9vs H9I5/0MRT7eYlcYNbvO8hT5y2pAqApjqS3jj353fx1fOeAmAljzVdOo4hUFxMoLk ubE8VY4kXrOtcsIn54A/Y7aj+9rM8CIJLhmp47A8anPI3RJeR/5UWn/O1j2H9AB5 Fd3CfaTW+FTnn8iS92kti17UshTFOH37xjohsQ4GxWhMG/omExSjy272jEhRlVLE UFBaaeZZKsx3rydjtd22LE/cLig/A3AO6CbmufF/H7x24D/kkqGNEpWBzk4PRCyN St3jSruzUj79xKBg/g8bwuO5vgb2OIdQcsTCm1BAySCQRgFpqLk5WadBBoiqEJEy 4mAliF37n3cM+L6VHEbq7kcC5YGt2m9S7DBwP+NzlcKR0SgLkL6pQ5j5tJr1jct5 sz3nwpPpMm18I1dcyFbLt/Q3C1Z/X4hjOfc0dkJ/SjawfqgTUwLLvPJ6RoHaTJQf 8lQtOFBHJRT5nBhaYRkintmtXh12r8nY4zcyXBns9JLAlUpbBbMN1/BdZFU8MtVG LAh41dK/VTNlxzGlc9bV =P1IU -----END PGP SIGNATURE----- _______________________________________________ Dnsmasq-discuss mailing list Dnsmasq-discuss@lists.thekelleys.org.uk http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss