DNS Translation File

A DNS Translation File consists of a list of DNS name pairs, consisting of a match and a replacement. When the file is used, the match is converted to the replacement, which is then passed to the resolver.

Special characters can be used in the match:

Character Usage
?  Wildcard for a single character.
*  Wildcard for multiple characters.
 #  Comment.

Note: Wildcards can only be used in the match, not the replacement.

Example

Example of DNS translation file contents:

# Translation File
www.*tester.com www.pure-tester.com
mail?.google.com mail.google.com