[Dnsmasq-discuss] Expand-host multiple domains?
Jarno Elonen
elonen at iki.fi
Tue Oct 9 14:57:52 BST 2018
Is it possible to expand hosts file entries against multiple domains
with Dnsmasq?
Or perhaps setup a DNAME-like aliasing of hosts in one domain to another
domain?
To clarify, if my "/etc/hosts" contained...
1.2.3.4 host1
4.5.6.7 host2
...and my domains were "old-domain.com" and "new-domain.com", I'd like
to somehow configure dnsmasq to handle all these queries:
host1 --> 1.2.3.4
host2 --> 4.5.6.7
host1.old-domain.com --> 1.2.3.4
host2.old-domain.com --> 4.5.6.7
host1.new-domain.com --> 1.2.3.4
host2.new-domain.com --> 4.5.6.7
-Jarno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20181009/e0e19cfe/attachment.html>
More information about the Dnsmasq-discuss
mailing list