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.

Regular Expressions plug-in

This plug-in uses Regular Expressions (see standard syntax in Wikipedia) to pair host domain names to IP addresses.
This gives you much more flexibility than simple wildcard records.

Here is a simple example:

This will cause requests for anything under "" starting with "asia" to resolve to IP
That would include for example "".

Requests for "europe..." resolve to, requests for "america..." resolve to, and anything else under "" resolves to

Regular expressions are compiled when the server modules loads them and therefore run very efficiently in Simple DNS Plus.

NOTE: 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 "", the regular expression would be "^something[.]example[.]com$" without the quotes.
The regular expression equivalent to the wildcard record name "" is ".[.]example[.]com$".

How to obtain this plug-in

This plug-in is included with the Simple DNS Plus installation.

Open source

This source code for this plug-in is available at

Contributions are most welcome.

Related KB articles:


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