On 11/29/2016 10:48 AM, Federico Olivieri wrote: > This is the config I am running . I assigned a server a pool name > "private" and use that name for the cache policy. What I am doing wrong? > > root@UKLNDLABPI:~# cat /etc/dnsdist/dnsdist.conf > newServer({address="192.168.99.10", name="DMZ", order=10, pool=private}) > newServer({address="8.8.8.8", name="GOOGLE", order=255, pool=public})
You probably want to use quotes around private and public, otherwise they are interpreted as variables, and as they are not defined they equal to nil. However please understand that if you place DMZ in the "private" pool and GOOGLE in the "public" pool, you won't have any server in the default pool, which receives all queries that have not been explicitly routed to another pool with addPoolRule(), PoolAction(), QPSPoolAction(), setDNSSECPool().. Therefore you might want to leave your servers in the default pool and also add them to another one by doing something like this: newServer({address="192.168.99.10", name="DMZ", order=10, pool={"", "private"} }) newServer({address="8.8.8.8", name="GOOGLE", order=255, pool={"", "public"} }) -- Remi Gacogne PowerDNS.COM BV - https://www.powerdns.com/
signature.asc
Description: OpenPGP digital signature
_______________________________________________ dnsdist mailing list dnsdist@mailman.powerdns.com https://mailman.powerdns.com/mailman/listinfo/dnsdist