Our business network runs all over the country. In an effort to provide better, more localized service, I'd like to configure our PowerDNS to return different IP's based on where the client is (by subnet, not geo location). (Disclaimer why I believe this is on-topic here - This is not a request for help with the OS/host/server or even basic powerDNS configuration. Our network team is responsible for all DNS configurations, while our operating system team is weak in this area).
I haven't been able to find much beyond using geo-location. I believe the equivalent of what I need is called "views" in bind, and I came across some documentation about "dnsdist" for powerdns, but I can't find much on defining subnets and mapping them to corresponding DNS entries.
Any ideas how I would configure PowerDNS to return different IP based on client subnet? Or at least what the settings would be called so I can research them myself?
I'm a linux guy and no stranger to command line / direct config file manipulation, so it's not a big deal if phpipam cannot do what I'm hoping for here. Thanks in advance!