Configure dnsmasq to passthrough search domain to LXC guest ...
serverfault.com › questions › 891802We use dnsmasq to set tags for clients by MAC address and then we push different search domains to the clients based on the tag. For example, we have these two lines in dnsmasq.conf: dhcp-option=tag:foo,option:domain-search,foo.company.net dhcp-host=00:11:22:33:44:55,foo-client,set:foo. Here, when foo-client tries to access any unqualified hosts, it will try looking at <unqualified-hostname>.foo.company.net.
dnsmasq - ArchWiki
wiki.archlinux.org › title › Dnsmasqdnsmasq provides a DNS server, a DHCP server with support for DHCPv6 and PXE, and a TFTP server. It is designed to be lightweight and have a small footprint, suitable for resource constrained routers and firewalls. dnsmasq can also be configured to cache DNS queries for improved DNS lookup speeds to previously visited sites.
Advanced Dnsmasq Tips and Tricks - Linux.com
www.linux.com › topic › networkingFeb 08, 2018 · You can make the process even faster by entering only the hostnames in /etc/hosts, and use Dnsmasq to add the domain. /etc/hosts looks like this: 127.0.0.1 localhost 192.168.0.1 host2 192.168.0.2 host3 192.168.0.3 host4 Then add these lines to dnsmasq.conf, using your own domain, of course: expand-hosts domain=mehxample.com