1

Selective DNS Servers

view story
linux-howto

https://bbs.archlinux.org – What I'm trying to do is probably much easier to describe in pseudo code than anything else.if (domain == "company.com" || subdomain("company.com")) { nameserver = xxx.xxx.xxx.xxx; } else { nameserver = yyy.yyy.yyy.yyy; }I've been playing around with /etc/resolv.conf for a while, but haven't been able to get things quite right.  I'm also using for most DNS request dnsmasq running on a router, so if it's easier to handle this through dnsmasq let me know, but honestly I thought this is something I could do with resolv.conf or similar. (HowTos)