4 Japan Network Information Center (JPNIC)
7 * What is this patch for?
9 This patch adds internationalized domain name (IDN) support to BIND-9.
10 You'll get internationalized version of dig/host/nslookup commands.
12 + internationalized dig/host/nslookup
13 dig/host/nslookup accepts non-ASCII domain names in the local
14 codeset (such as Shift JIS, Big5 or ISO8859-1) determined by
15 the locale information. The domain names are normalized and
16 converted to the encoding on the DNS protocol, and sent to DNS
17 servers. The replies are converted back to the local codeset
21 * Compilation & installation
25 You have to build and install idnkit before building this patched version
28 1. Running configure script
30 Run `configure' in the top directory. See `README' for the
31 configuration options.
33 This patch adds the following 4 options to `configure'. You should
34 at least specify `--with-idn' option to enable IDN support.
36 --with-idn[=IDN_PREFIX]
37 To enable IDN support, you have to specify `--with-idn' option.
38 The argument IDN_PREFIX is the install prefix of idnkit. If
39 IDN_PREFIX is omitted, PREFIX (derived from `--prefix=PREFIX')
42 --with-libiconv[=LIBICONV_PREFIX]
43 Specify this option if idnkit you have installed links GNU
44 libiconv. The argument LIBICONV_PREFIX is install prefix of
45 GNU libiconv. If the argument is omitted, PREFIX (derived
46 from `--prefix=PREFIX') is assumed.
48 `--with-libiconv' is shorthand option for GNU libiconv.
50 --with-libiconv=/usr/local
52 This is equivalent to:
54 --with-iconv='-L/usr/local/lib -R/usr/local/lib -liconv'
56 `--with-libiconv' assumes that your C compiler has `-R'
57 option, and that the option adds the specified run-time path
58 to an exacutable binary. If `-R' option of your compiler has
59 different meaning, or your compiler lacks the option, you
60 should use `--with-iconv' option instead. Binary command
61 without run-time path information might be unexecutable.
62 In that case, you would see an error message like:
64 error in loading shared libraries: libiconv.so.2: cannot
65 open shared object file
67 If both `--with-libiconv' and `--with-iconv' options are
68 specified, `--with-iconv' is prior to `--with-libiconv'.
70 --with-iconv=ICONV_LIBSPEC
71 If your libc doens't provide iconv(), you need to specify the
72 library containing iconv() with this option. `ICONV_LIBSPEC'
73 is the argument(s) to `cc' or `ld' to link the library, for
74 example, `--with-iconv="-L/usr/local/lib -liconv"'.
75 You don't need to specify the header file directory for "iconv.h"
76 to the compiler, as it isn't included directly by bind-9 with
79 --with-idnlib=IDN_LIBSPEC
80 With this option, you can explicitly specify the argument(s)
81 to `cc' or `ld' to link the idnkit's library, `libidnkit'. If
82 this option is not specified, `-L${PREFIX}/lib -lidnkit' is
83 assumed, where ${PREFIX} is the installation prefix specified
84 with `--with-idn' option above. You may need to use this
85 option to specify extra argments, for example,
86 `--with-idnlib="-L/usr/local/lib -R/usr/local/lib -lidnkit"'.
88 Please consult `README' for other configuration options.
90 Note that if you want to specify some extra header file directories,
91 you should use the environment variable STD_CINCLUDES instead of
92 CFLAGS, as described in README.
94 2. Compilation and installation
96 After running "configure", just do
101 for compiling and installing.
104 * Contact information
106 Please see http//www.nic.ad.jp/en/idn/ for the latest news
107 about idnkit and this patch.
109 Bug reports and comments on this kit should be sent to
110 mdnkit-bugs@nic.ad.jp and idn-cmt@nic.ad.jp, respectively.
112 ; $Id: README.idnkit,v 1.2.2.2 2005/09/12 02:12:08 marka Exp $