edmonds/nss-ubdns — pull request #1 by seveas (2012-10-02 11:02:29+00:00)
Title: Minimal stub resolver for only one domain

This patch allows you to split resolution paths, making a single domain
go to a dedicated (set of) nameserver(s). I use this for redirecting one
domain to a DNS loadbalancer.

Usage:

make RESOLVCONF=/etc/nss-ubdns/resolv.conf \
MINIMAL_DOMAIN=lb-pool \
&& sudo make install

Change the hosts line in /etc/nsswitch.conf to:

hosts: files ubdns dns

All requests for *.lb-pool will be handled by nss-ubdns, which will use
the nameservers in /etc/nss-ubdns/resolv.conf.