rlm_idn

Synopsis

The idn module converts internationalized domain names to ASCII.

Internationalized domain names can have multiple equivalent representations. The idn module converts all of those representations into one canonical ASCII format.

The ASCII format can then be used for name comparisons.

Processing Sections

None.

Expansions

This module registers only one expansion.

idn
Syntax

%{idn: …​}

Contents

The contents of the expansion should be the internationalized domain name. The output of the expansion is an ASCII string that contains the ASCII (i.e. punycode) version of the domain name.

Directives

allow_unassigned
Syntax

allow_unassigned = boolean

Default

no

Description

Allows the use of unassigned Unicode code points.

use_std3_ascii_rules
Syntax

use_std3_ascii_rules = boolean

Default

yes

Description

Prohibits the use of underscores and other invalid characters in domain names.