run dnsmasq on 127.0.0.1 (loopback) and point resolv.conf at it (127.0.0.1)
read default config has commented examples of what you are asking for. -rick On Fri, Jul 11, 2014 at 2:28 PM, Edward Peschko <[email protected]> wrote: > All, > > I'm trying to create a /etc/resolv.conf where one dns server is used > in the case of one domain, and a different dns server is used for > another. > > For example: > > ping www.mydomain.com > > should lookup based off of 192.168.0.1 > > ping www.us-west.compute.internal > > should lookup based off of 172.16.0.1 > > This should be an exceedingly simple task, but its proving more > difficult than I thought (no examples on the internet, the docs are > not straightforward, etc) > > Anyone have a simple example /etc/resolv.conf that does the above? > > Thanks much, > > Ed > _______________________________________________ > dns-operations mailing list > [email protected] > https://lists.dns-oarc.net/mailman/listinfo/dns-operations > dns-jobs mailing list > https://lists.dns-oarc.net/mailman/listinfo/dns-jobs >
_______________________________________________ dns-operations mailing list [email protected] https://lists.dns-oarc.net/mailman/listinfo/dns-operations dns-jobs mailing list https://lists.dns-oarc.net/mailman/listinfo/dns-jobs
