With this plug-in, you can make Simple DNS Plus ignore all DNS requests for names that match a configurable regular expression.
This could be used, for example, when the server is being bombarded with requests with a specific pattern (as is often seen in DNS amplification attacks). Another example is simple parental control - blocking domain names containing bad words.
Regular expressions are compiled when Simple DNS Plus loads the plug-in instance and are therefore evaluated very efficiently.
Keep in mind that the dot (.) character has special meaning in regular expressions (matches any character), so when matching multi-segment domains names, the domain name dots must be enclosed in square brackets [.]. For example to match exactly "something.example.com", the regular expression would be "^something[.]example[.]com$" without the quotes. The regular expression equivalent to the wildcard record name "*.example.com" is ".*[.]example[.]com$".
This plug-in is now available for download from: https://github.com/jhsoftware/sdns-regexignore/releases
Download the "RegexIgnorePlugIn.dll" file to the "PlugIns" directory under the directory where Simple DNS Plus is installed, re-start Simple DNS Plus, and then setup an instance of "Regex Ignore" from the Options dialog / Plug-ins section.
The source code (forks and contributions are most welcome) is available at: https://github.com/jhsoftware/sdns-regexignore
Trouble logging in? Simply enter your email address OR username in order to reset your password.
For faster and more reliable delivery, add support@simpledns.plus to your trusted senders list in your email software.