1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 "https://www.nlnetlabs.nl/downloads/ldns/ldns-&ldns-version;.tar.gz">
|
---|
8 | <!ENTITY ldns-download-ftp " ">
|
---|
9 | <!ENTITY ldns-md5sum "94ea1ed8fc7095bef003b64b53b71ec7">
|
---|
10 | <!ENTITY ldns-size "1.2 MB">
|
---|
11 | <!ENTITY ldns-buildsize "31 MB (with docs)">
|
---|
12 | <!ENTITY ldns-time "0.2 SBU (with docs)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="ldns" xreflabel="ldns-&ldns-version;">
|
---|
16 | <?dbhtml filename="ldns.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>ldns-&ldns-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="ldns">
|
---|
22 | <primary sortas="a-ldns">ldns</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to ldns</title>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | <application>ldns</application> is a fast DNS library with the goal to
|
---|
30 | simplify DNS programming and to allow developers to easily create software
|
---|
31 | conforming to current RFCs and Internet drafts. This packages also
|
---|
32 | includes the <command>drill</command> tool.
|
---|
33 | </para>
|
---|
34 |
|
---|
35 | &lfs122_checked;
|
---|
36 |
|
---|
37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
38 | <itemizedlist spacing="compact">
|
---|
39 | <listitem>
|
---|
40 | <para>
|
---|
41 | Download (HTTP): <ulink url="&ldns-download-http;"/>
|
---|
42 | </para>
|
---|
43 | </listitem>
|
---|
44 | <listitem>
|
---|
45 | <para>
|
---|
46 | Download (FTP): <ulink url="&ldns-download-ftp;"/>
|
---|
47 | </para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download MD5 sum: &ldns-md5sum;
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download size: &ldns-size;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Estimated disk space required: &ldns-buildsize;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Estimated build time: &ldns-time;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | </itemizedlist>
|
---|
70 |
|
---|
71 | <bridgehead renderas="sect3">ldns Dependencies</bridgehead>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
74 | <para role="optional">
|
---|
75 | <xref linkend="make-ca"/> and
|
---|
76 | <xref linkend="libpcap"/> (for example programs),
|
---|
77 | <xref linkend="swig"/> (for Python bindings), and
|
---|
78 | <xref linkend="doxygen"/> (for html documentation)
|
---|
79 | </para>
|
---|
80 |
|
---|
81 | </sect2>
|
---|
82 |
|
---|
83 | <sect2 role="installation">
|
---|
84 | <title>Installation of ldns</title>
|
---|
85 |
|
---|
86 | <para>
|
---|
87 | Install <application>ldns</application> by running the following
|
---|
88 | commands:
|
---|
89 | </para>
|
---|
90 |
|
---|
91 | <screen><userinput>./configure --prefix=/usr \
|
---|
92 | --sysconfdir=/etc \
|
---|
93 | --disable-static \
|
---|
94 | --with-drill &&
|
---|
95 | make</userinput></screen>
|
---|
96 |
|
---|
97 | <para>
|
---|
98 | If you have <xref linkend="doxygen"/> installed and want to build
|
---|
99 | html documentation, run the following command:
|
---|
100 | </para>
|
---|
101 |
|
---|
102 | <screen remap="doc"><userinput>make doc</userinput></screen>
|
---|
103 |
|
---|
104 | <para>
|
---|
105 | This package does not come with a working test suite.
|
---|
106 | </para>
|
---|
107 |
|
---|
108 | <para>
|
---|
109 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
110 | </para>
|
---|
111 |
|
---|
112 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
113 |
|
---|
114 | <para>
|
---|
115 | If you built html documentation, install it by running the following
|
---|
116 | commands as the <systemitem class="username">root</systemitem> user:
|
---|
117 | </para>
|
---|
118 |
|
---|
119 | <screen role="root"
|
---|
120 | remap="doc"><userinput>install -v -m755 -d /usr/share/doc/ldns-&ldns-version; &&
|
---|
121 | install -v -m644 doc/html/* /usr/share/doc/ldns-&ldns-version;</userinput></screen>
|
---|
122 |
|
---|
123 | </sect2>
|
---|
124 |
|
---|
125 | <sect2 role="commands">
|
---|
126 | <title>Command Explanations</title>
|
---|
127 |
|
---|
128 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
129 | href="../../xincludes/static-libraries.xml"/>
|
---|
130 |
|
---|
131 | <para>
|
---|
132 | <parameter>--with-drill</parameter>: This option enables building of the
|
---|
133 | <command>drill</command> tool (used for obtaining debug information
|
---|
134 | from DNS(SEC))
|
---|
135 | </para>
|
---|
136 |
|
---|
137 | <para>
|
---|
138 | <option>--disable-dane-ta-usage</option>: This option disables DANE-TA
|
---|
139 | (DNS-Based Authentication of Named Entities) support. It is only needed
|
---|
140 | if OpenSSL-1.1.0 or later is not installed.
|
---|
141 | </para>
|
---|
142 |
|
---|
143 | <para>
|
---|
144 | <option>--with-examples</option>: This option enables building of the
|
---|
145 | example programs.
|
---|
146 | </para>
|
---|
147 |
|
---|
148 | <para>
|
---|
149 | <option>--with-pyldns</option>: This option enables building of the Python
|
---|
150 | bindings. If you use this option, you will need to add
|
---|
151 | PYTHON=/usr/bin/python3 to the configure line as well.
|
---|
152 | </para>
|
---|
153 |
|
---|
154 | </sect2>
|
---|
155 |
|
---|
156 | <sect2 role="content">
|
---|
157 | <title>Contents</title>
|
---|
158 |
|
---|
159 | <segmentedlist>
|
---|
160 | <segtitle>Installed Programs</segtitle>
|
---|
161 | <segtitle>Installed Library</segtitle>
|
---|
162 | <segtitle>Installed Directories</segtitle>
|
---|
163 |
|
---|
164 | <seglistitem>
|
---|
165 | <seg>
|
---|
166 | drill and ldns-config
|
---|
167 | </seg>
|
---|
168 | <seg>
|
---|
169 | libldns.so
|
---|
170 | </seg>
|
---|
171 | <seg>
|
---|
172 | /usr/include/ldns and /usr/share/doc/ldns-&ldns-version;
|
---|
173 | </seg>
|
---|
174 | </seglistitem>
|
---|
175 | </segmentedlist>
|
---|
176 |
|
---|
177 | <variablelist>
|
---|
178 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
179 | <?dbfo list-presentation="list"?>
|
---|
180 | <?dbhtml list-presentation="table"?>
|
---|
181 |
|
---|
182 | <varlistentry id="drill">
|
---|
183 | <term><command>drill</command></term>
|
---|
184 | <listitem>
|
---|
185 | <para>
|
---|
186 | is a tool like <command>dig</command> from
|
---|
187 | <xref linkend="bind-utils"/> designed to get all sorts of
|
---|
188 | information out of the DNS
|
---|
189 | </para>
|
---|
190 | <indexterm zone="ldns drill">
|
---|
191 | <primary sortas="b-drill">drill</primary>
|
---|
192 | </indexterm>
|
---|
193 | </listitem>
|
---|
194 | </varlistentry>
|
---|
195 |
|
---|
196 | <varlistentry id="ldns-config">
|
---|
197 | <term><command>ldns-config</command></term>
|
---|
198 | <listitem>
|
---|
199 | <para>
|
---|
200 | shows compiler and linker flags for ldns usage
|
---|
201 | </para>
|
---|
202 | <indexterm zone="ldns ldns-config">
|
---|
203 | <primary sortas="b-ldns-config">ldns-config</primary>
|
---|
204 | </indexterm>
|
---|
205 | </listitem>
|
---|
206 | </varlistentry>
|
---|
207 |
|
---|
208 | <varlistentry id="libldns">
|
---|
209 | <term><filename class="libraryfile">libldns.so</filename></term>
|
---|
210 | <listitem>
|
---|
211 | <para>
|
---|
212 | provides the <application>ldns</application> API functions to
|
---|
213 | programs
|
---|
214 | </para>
|
---|
215 | <indexterm zone="ldns libldns">
|
---|
216 | <primary sortas="c-libldns">libldns.so</primary>
|
---|
217 | </indexterm>
|
---|
218 | </listitem>
|
---|
219 | </varlistentry>
|
---|
220 |
|
---|
221 | </variablelist>
|
---|
222 |
|
---|
223 | </sect2>
|
---|
224 |
|
---|
225 | </sect1>
|
---|