Huge dynamic zones with #bind?
I use SpamAssassin on my mailserver, with a self maintained DNS blacklist.
ifplugin Mail::SpamAssassin::Plugin::URIDNSBL
urirhssub MY_URI_RBL spam.uri.example.com. A 127.0.0.3
body MY_URI_RBL eval:check_uridnsbl('MY_URI_RBL')
describe MY_URI_RBL Contains a host listed in my URI blocklist
score MY_URI_RBL 100
endif
Then I have on my name server a zone spam.uri.example.com which is/was self maintained, but that does not work well, I have to add every unwanted domain by hand.
To prevent from phishing attacks, I add https://blocklistproject.github.io/Lists/phishing.txt to the zone file with some script magic. Still I have to increase the serial, and being a lazy sysadmin, I want to automate this. nsupdate
comes to my mind, but phishing.txt
contains 190305 unique records. Will nsupdate/bind handle this? (Of course, I would have to turn spam.uri.example.com into a dynamic zone)