1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY ldns-download-http "http://www.nlnetlabs.nl/downloads/ldns/ldns-&ldns-version;.tar.gz">
|
---|
8 | <!ENTITY ldns-download-ftp " ">
|
---|
9 | <!ENTITY ldns-md5sum "a79423bcc4129e6d59b616b1cae11e5e">
|
---|
10 | <!ENTITY ldns-size "1.3 MB">
|
---|
11 | <!ENTITY ldns-buildsize "18 MB">
|
---|
12 | <!ENTITY ldns-time "0.2 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="ldns" xreflabel="ldns-&ldns-version;">
|
---|
16 | <?dbhtml filename="ldns.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>ldns-&ldns-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="ldns">
|
---|
26 | <primary sortas="a-ldns">ldns</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to ldns</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | <application>ldns</application> is a fast DNS library with the goal to
|
---|
34 | simplify DNS programming and to allow developers to easily create software
|
---|
35 | conforming to current RFCs and Internet drafts. This packages also
|
---|
36 | includes the <command>drill</command> tool.
|
---|
37 | </para>
|
---|
38 |
|
---|
39 | &lfs7a_checked;
|
---|
40 |
|
---|
41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
42 | <itemizedlist spacing="compact">
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (HTTP): <ulink url="&ldns-download-http;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download (FTP): <ulink url="&ldns-download-ftp;"/>
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download MD5 sum: &ldns-md5sum;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Download size: &ldns-size;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated disk space required: &ldns-buildsize;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para>
|
---|
70 | Estimated build time: &ldns-time;
|
---|
71 | </para>
|
---|
72 | </listitem>
|
---|
73 | </itemizedlist>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect3">ldns Dependencies</bridgehead>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
78 | <para role="recommended">
|
---|
79 | <xref linkend="openssl"/>
|
---|
80 | </para>
|
---|
81 |
|
---|
82 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
83 | <para role="optional">
|
---|
84 | <xref linkend="cacerts"/> and
|
---|
85 | <xref linkend="libpcap"/> (for example programs),
|
---|
86 | <xref linkend="python2"/> and
|
---|
87 | <xref linkend="swig"/> (for Python bindings), and
|
---|
88 | <xref linkend="doxygen"/> (for html documentation)
|
---|
89 | </para>
|
---|
90 |
|
---|
91 | <para condition="html" role="usernotes">User Notes:
|
---|
92 | <ulink url="&blfs-wiki;/ldns"/>
|
---|
93 | </para>
|
---|
94 | </sect2>
|
---|
95 |
|
---|
96 | <sect2 role="installation">
|
---|
97 | <title>Installation of ldns</title>
|
---|
98 |
|
---|
99 | <para>
|
---|
100 | Install <application>ldns</application> by running the following
|
---|
101 | commands:
|
---|
102 | </para>
|
---|
103 |
|
---|
104 | <screen><userinput>sed -i 's/defined(@$also)/@$also/' doc/doxyparse.pl &&
|
---|
105 |
|
---|
106 | ./configure --prefix=/usr \
|
---|
107 | --sysconfdir=/etc \
|
---|
108 | --disable-static \
|
---|
109 | --with-drill &&
|
---|
110 | make</userinput></screen>
|
---|
111 |
|
---|
112 | <para>
|
---|
113 | If you have <xref linkend="doxygen"/> installed and want to build
|
---|
114 | html documentation, run the following command:
|
---|
115 | </para>
|
---|
116 |
|
---|
117 | <screen><userinput>make doc</userinput></screen>
|
---|
118 |
|
---|
119 | <para>
|
---|
120 | This package does not come with a working test suite.
|
---|
121 | </para>
|
---|
122 |
|
---|
123 | <para>
|
---|
124 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
125 | </para>
|
---|
126 |
|
---|
127 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
128 |
|
---|
129 | <para>
|
---|
130 | If you built html documentation, install it by running the following
|
---|
131 | commands as the <systemitem class="username">root</systemitem> user:
|
---|
132 | </para>
|
---|
133 |
|
---|
134 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/ldns-&ldns-version; &&
|
---|
135 | install -v -m644 doc/html/* /usr/share/doc/ldns-&ldns-version;</userinput></screen>
|
---|
136 |
|
---|
137 | </sect2>
|
---|
138 |
|
---|
139 | <sect2 role="commands">
|
---|
140 | <title>Command Explanations</title>
|
---|
141 |
|
---|
142 | <para>
|
---|
143 | <command>sed ... doc/doxyparse.pl</command>: This command fixes an error
|
---|
144 | introduced with perl-5.22.
|
---|
145 | </para>
|
---|
146 |
|
---|
147 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
148 | href="../../xincludes/static-libraries.xml"/>
|
---|
149 |
|
---|
150 | <para>
|
---|
151 | <parameter>--with-drill</parameter>: This option enables building of the
|
---|
152 | <command>drill</command> tool.
|
---|
153 | </para>
|
---|
154 |
|
---|
155 | <para>
|
---|
156 | <option>--with-examples</option>: This option enables building of the
|
---|
157 | example programs.
|
---|
158 | </para>
|
---|
159 |
|
---|
160 | <para>
|
---|
161 | <option>--with-pyldns</option>: This option enables building of the Python
|
---|
162 | bindings.
|
---|
163 | </para>
|
---|
164 |
|
---|
165 | </sect2>
|
---|
166 |
|
---|
167 | <sect2 role="content">
|
---|
168 | <title>Contents</title>
|
---|
169 |
|
---|
170 | <segmentedlist>
|
---|
171 | <segtitle>Installed Programs</segtitle>
|
---|
172 | <segtitle>Installed Library</segtitle>
|
---|
173 | <segtitle>Installed Directories</segtitle>
|
---|
174 |
|
---|
175 | <seglistitem>
|
---|
176 | <seg>
|
---|
177 | drill and ldns-config
|
---|
178 | </seg>
|
---|
179 | <seg>
|
---|
180 | libldns.so and
|
---|
181 | /usr/lib/python&python2-majorver;/site-packages/_ldns.so
|
---|
182 | </seg>
|
---|
183 | <seg>
|
---|
184 | /usr/include/ldns and /usr/share/doc/ldns-&ldns-version;
|
---|
185 | </seg>
|
---|
186 | </seglistitem>
|
---|
187 | </segmentedlist>
|
---|
188 |
|
---|
189 | <variablelist>
|
---|
190 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
191 | <?dbfo list-presentation="list"?>
|
---|
192 | <?dbhtml list-presentation="table"?>
|
---|
193 |
|
---|
194 | <varlistentry id="drill">
|
---|
195 | <term><command>drill</command></term>
|
---|
196 | <listitem>
|
---|
197 | <para>
|
---|
198 | is a tool like <command>dig</command> from
|
---|
199 | <xref linkend="bind-utils"/> designed to get all sorts of
|
---|
200 | information out of the DNS.
|
---|
201 | </para>
|
---|
202 | <indexterm zone="ldns drill">
|
---|
203 | <primary sortas="b-drill">drill</primary>
|
---|
204 | </indexterm>
|
---|
205 | </listitem>
|
---|
206 | </varlistentry>
|
---|
207 |
|
---|
208 | <varlistentry id="ldns-config">
|
---|
209 | <term><command>ldns-config</command></term>
|
---|
210 | <listitem>
|
---|
211 | <para>
|
---|
212 | shows compiler and linker flags for ldns usage.
|
---|
213 | </para>
|
---|
214 | <indexterm zone="ldns ldns-config">
|
---|
215 | <primary sortas="b-ldns-config">ldns-config</primary>
|
---|
216 | </indexterm>
|
---|
217 | </listitem>
|
---|
218 | </varlistentry>
|
---|
219 |
|
---|
220 | <varlistentry id="libldns">
|
---|
221 | <term><filename class="libraryfile">libldns.so</filename></term>
|
---|
222 | <listitem>
|
---|
223 | <para>
|
---|
224 | provides the <application>ldns</application> API functions to
|
---|
225 | programs.
|
---|
226 | </para>
|
---|
227 | <indexterm zone="ldns libldns">
|
---|
228 | <primary sortas="c-libldns">libldns.so</primary>
|
---|
229 | </indexterm>
|
---|
230 | </listitem>
|
---|
231 | </varlistentry>
|
---|
232 |
|
---|
233 | </variablelist>
|
---|
234 |
|
---|
235 | </sect2>
|
---|
236 |
|
---|
237 | </sect1>
|
---|