On 17/03/2022 15:50, Pepe Charli wrote:
But the idea is to have in the future a file forward-zones-file of the
type
test1.com <http://test1.com>=192.168.1.1
test2.com <http://test2.com>=192.168.1.2
.=192.168.68.63, 192.168.68.64
I think dnsdist is better for that application - it's what it's designed
for. For example, it actively tests the backends with a query every
second, so failover is faster.
# sample configuration
setACL({'192.168.0.0/16','10.0.0.0/8'})
newServer({address='192.168.68.63', pool='default'})
newServer({address='192.168.68.64', pool='default'})
newServer({address='192.168.1.1', pool='test1'})
newServer({address='192.168.1.2', pool='test2'})
addAction({'test1.com.'}, PoolAction('test1'))
addAction({'test1.com.'}, PoolAction('test2'))
addAction(AllRule(), PoolAction('default'))
_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users