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.

Alias Zones plug-in

Note: This plug-in requires an "Unlimited Zones" license for Simple DNS Plus.

This plug-in provides DNS records for one or more "virtual" zones by cloning records from another zone (local or remote).

This is an easy way to host many domain names that have the exact same records (except for their zone names).

On the "Plug-In Settings" tab, enter the following settings (explained below the image):

  • Alias zone names
    A list of domain names representing the "virtual zones".
  • Clone from zone
    The zone name to query for a response to be cloned. This can be a local zone or a domain hosted elsewhere.

When this plug-in processes a DNS request, it first checks if the requested name matches, or is a sub-name of, one of the names listed in the "Alias zones names" list - using the longest match.
Then a new DNS request is generated for the requested domain name less the matched alias zone name + the "Clone from zone" name.
This new request is then resolved (from local zones, other plug-ins, resolved from Internet, etc.) and the resulting response is cloned - replacing all instances of the "Clone from zone" name with the alias zone part of the requested name.

For example, say the plug-in is configured as in the image above ("Alias zones names" is "example.net" / "example.org" and the "Clone from zone" name is "example.com"), and the plug-in receives a DNS request for "host5.example.net".
A new request is then generated for "host5.example.com" ("host5.example.net" less "example.net" + "example.com").
When this new request is resolved, all instances of "example.com" in the response are replaced with "example.net" so that this matches the original request.

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 https://github.com/jhsoftware/sdnspi-AliasZones

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