Simple DNS Plus
Edit this page

Did you notice something wrong or unclear, or want to add something more to this page?

Great !!

You can edit the source text of this page on GitHub (click here to learn how).

After you submit your changes ("pull request"), we will review it and update the page.

Regex Ignore plug-in

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.

In the plug-in instance dialog / Plug-In Settings tab you can specify the regular expression to match:

The sample in the screen shot would match and ignore any requests for domain names containing 'xxx'.

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$".

How to obtain this plug-in

Download from https://github.com/jhsoftware/sdnspi-RegexIgnore/releases, un-zip it to the Simple DNS Plus plug-in directory (typically "C:\Program Files\Simple DNS Plus\PlugIns"), unblock it (IMPORTANT), and then restart Simple DNS Plus.

Open source

This source code for this plug-in is available at https://github.com/jhsoftware/sdnspi-regexignore

Contributions are most welcome.

Related KB articles:

Comments

Simple DNS Plus

  • Home
  • Search
  • Product details

  • Features
  • Screen shots
  • Plug-ins
  • Tools & Add-ons
  • Testimonials
  • What's new
  • Release notes
  • Download

  • Download
  • Buy

  • Pricing
  • New license
  • Additional license
  • Upgrade
  • Support

  • Overview
  • Lost License Key
  • Knowledge Base
  • Online documentation
  • Contact us