DNS relay

IP6M uses PowerDNS for dns recursor server. Installing the pacckage:

apt install pdns-recursor

The configuration file is at:

/etc/powerdns/recursor.conf

The options that has to be adjusted:

allow-from= 192.168.0.0/16, 2001:db8::/32 

Our IP address ranges where DNS querys come from.

local-address= 192.168.89.10, 127.0.0.1, ::1, 2001:db8::10

The IP addresses of the server.

max-cache-entries= 100000
Dns cache size. The default 1M may require too much memory.
query-local-address6= 2001:db8::10

This is necessery for PowerDNS to originate outgoing DNS queries from its IPv6 address.