1# $Id: idn.conf.sample.in,v 1.24 2003/03/05 23:25:02 miyayama Exp $
2#
3# Sample file for idnkit configuration file (idn.conf).
4#
5
6#
7# `idn-encoding' entry specifies the encoding name used as the encoding
8# of multilingualized names by resolvers and DNS servers.  Currently, the
9# following encodings are available:
10#
11#	Punycode
12#	UTF-8
13#	<codeset names your iconv_open() accepts>
14#
15# If you enabled extra ace feature, following IDN encoding can be used.
16#
17#	AMC-ACE-Z (old name of Punycode)
18#	RACE
19#
20# syntax)
21#	idn-encoding <encoding>
22#
23idn-encoding Punycode
24
25#
26# `nameprep' entry specifies the version of NAMEPREP.
27# idnkit currently supports the following version:
28#
29#	RFC3491			-- name preparation scheme described in the
30#				   RFC3491
31#
32# syntax)
33#	nameprep <nameprep version>
34#
35nameprep RFC3491
36
37#
38# `local-map' entry specifies TLD (top level domain) based local mapping
39# schemes, which is performed before NAMEPREP.  Available schemes are:
40#
41#	<nameprep version>      -- nameprep version
42#	filemap:<pathname>      -- read mapping rules from a file
43#
44# syntax)
45#	local-map <tld> <scheme> ...
46#
47# If the TLD of the domain name matches <tld>, local mapping specified
48# by <scheme> is performed on the name.  Otherwise no mapping are
49# performed.  Multiple schemes can be specified; they are applied in
50# turn.
51#
52# There are two special <tld>s for specifying a default mapping rule
53# and a mapping rule for local names (domain names containing no
54# dots).  If <tld> is `.', its schemes are applied to domain names
55# whose TLD does not match any TLDs specified in local-map entries.
56# If <tld> is `-', its schemes are applied to domain names which
57# contain no dots.
58#
59#local-map -	filemap:/some/where/local.map
60#local-map .	filemap:/some/where/default.map
61local-map .jp	filemap:@mapdir@/jp.map
62