Multihomed interface and split DNS with dnsmasq
David J. Haines
Thu Apr 18 13:48:59 2013
I have a box with one physical ethernet adaptor, and I'm running it
multihomed on two subnets. One subnet (192.168.0.0/24) has a DNS server
on it (192.168.0.2) that needs to be queried for an internal domain.
The other subnet (10.0.0.0/24) is my default route to the greater
Internet and I tend to use Google's DNS (8.8.8.{8,4}) for my queries.
In the past, I have used dnsmasq's "server=/<domain>/<address>' syntax
in /etc/dnsmasq.conf to split my DNS queries for me. With Arch Linux's
recent adoption of openresolv for its more advanced networking
framework, I am trying to get openresolv and dnsmasq to work together to
split my DNS as before; however, I can only to have one DNS server or
the other operable at any one moment.
Any hints on how to get this multihomed, split DNS situation to work
(i.e. how to get openresolv to pass both a "server=<address>" and a
"server=/<domain>/<address>" string to dnsmasq.conf)?
Any help would be greatly appreciated.
--
David J. Haines
djhaines@xxxxxxx
Archive administrator: postmaster@marples.name