5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# $Id: idn.conf.sample.in,v 1.1 2003/06/04 00:26:45 marka Exp $
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# Sample file for idnkit configuration file (idn.conf).
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# `idn-encoding' entry specifies the encoding name used as the encoding
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# of multilingualized names by resolvers and DNS servers. Currently, the
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# following encodings are available:
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# <codeset names your iconv_open() accepts>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# If you enabled extra ace feature, following IDN encoding can be used.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# AMC-ACE-Z (old name of Punycode)
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# idn-encoding <encoding>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsidn-encoding Punycode
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# `nameprep' entry specifies the version of NAMEPREP.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# idnkit currently supports the following version:
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# RFC3491 -- name preparation scheme described in the
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# nameprep <nameprep version>
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewsnameprep RFC3491
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# `local-map' entry specifies TLD (top level domain) based local mapping
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# schemes, which is performed before NAMEPREP. Available schemes are:
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# <nameprep version> -- nameprep version
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# filemap:<pathname> -- read mapping rules from a file
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# local-map <tld> <scheme> ...
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# If the TLD of the domain name matches <tld>, local mapping specified
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# by <scheme> is performed on the name. Otherwise no mapping are
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# performed. Multiple schemes can be specified; they are applied in
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# There are two special <tld>s for specifying a default mapping rule
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# and a mapping rule for local names (domain names containing no
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# dots). If <tld> is `.', its schemes are applied to domain names
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# whose TLD does not match any TLDs specified in local-map entries.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# If <tld> is `-', its schemes are applied to domain names which
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews# contain no dots.
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#local-map - filemap:/some/where/local.map
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrews#local-map . filemap:/some/where/default.map
5c526acb82c882e41b655c31f5fa4425c87b671cMark Andrewslocal-map .jp filemap:@mapdir@/jp.map