Hi all, I've got an email server which sends massive amount of emails due to large mailing lists. I've read on Spamassassin web site that a local caching DNS will help a lot in terms of speed. In my multi-server setup I've got already 2 dns servers. All servers are connected through a private network at 10.0.0.0/16. If I edit the /etc/resolv.conf and remove my provider IPs and instead use the 10.0.0.9 & 10.0.0.10 which are my dns servers all lookup fail. Example: Code: root@email3:~# nslookup bbc.co.uk ;; Got recursion not available from 10.0.0.10, trying next server ;; Got recursion not available from 10.0.0.9, trying next server Server: 213.133.99.99 Address: 213.133.99.99#53 Non-authoritative answer: Name: bbc.co.uk Address: 151.101.128.81 Name: bbc.co.uk Address: 151.101.192.81 Name: bbc.co.uk Address: 151.101.0.81 Name: bbc.co.uk Address: 151.101.64.81 ;; Got recursion not available from 10.0.0.10, trying next server ;; Got recursion not available from 10.0.0.9, trying next server Name: bbc.co.uk Address: 2a04:4e42:200::81 Name: bbc.co.uk Address: 2a04:4e42:400::81 Name: bbc.co.uk Address: 2a04:4e42:600::81 Name: bbc.co.uk Address: 2a04:4e42::81 I guess I have to put: allow-recursion { 10.0.0.0/16; }; to allow the local queries? If yes, on which file I should add it? Thanks
I suggest reading RSpamd docs, they explaind setting up local dns resolve and recommend unbound. The resolve should be running on the e-mail server host to be fast. https://rspamd.com/doc/faq.html#resolver-setup