summaryrefslogtreecommitdiffstats
path: root/contrib/idn/idnkit-1.0-src/lib/idn.conf.sample.in
blob: ac771a817f9c336a01f2137131eacbd22bf86273 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# $Id: idn.conf.sample.in,v 1.1.1.1 2003/06/04 00:26:45 marka Exp $
#
# Sample file for idnkit configuration file (idn.conf).
#

#
# `idn-encoding' entry specifies the encoding name used as the encoding
# of multilingualized names by resolvers and DNS servers.  Currently, the
# following encodings are available:
#
#	Punycode
#	UTF-8
#	<codeset names your iconv_open() accepts>
#
# If you enabled extra ace feature, following IDN encoding can be used.
#
#	AMC-ACE-Z (old name of Punycode)
#	RACE
#
# syntax)
#	idn-encoding <encoding>
#
idn-encoding Punycode

#
# `nameprep' entry specifies the version of NAMEPREP.
# idnkit currently supports the following version:
#
#	RFC3491			-- name preparation scheme described in the
#				   RFC3491
#
# syntax)
#	nameprep <nameprep version>
#
nameprep RFC3491

#
# `local-map' entry specifies TLD (top level domain) based local mapping
# schemes, which is performed before NAMEPREP.  Available schemes are:
# 
#	<nameprep version>      -- nameprep version
#	filemap:<pathname>      -- read mapping rules from a file
#
# syntax)
#	local-map <tld> <scheme> ...
#
# If the TLD of the domain name matches <tld>, local mapping specified
# by <scheme> is performed on the name.  Otherwise no mapping are
# performed.  Multiple schemes can be specified; they are applied in
# turn.
#
# There are two special <tld>s for specifying a default mapping rule
# and a mapping rule for local names (domain names containing no
# dots).  If <tld> is `.', its schemes are applied to domain names
# whose TLD does not match any TLDs specified in local-map entries.
# If <tld> is `-', its schemes are applied to domain names which
# contain no dots.
# 
#local-map -	filemap:/some/where/local.map
#local-map .	filemap:/some/where/default.map
local-map .jp	filemap:@mapdir@/jp.map