source: networking/netlibs/ldns.xml

trunk
Last change on this file was 868811b, checked in by Bruce Dubbs <bdubbs@…>, 2 months ago

Many tags.
genutils
sysutils
netlibs
netprogs
netutils
editors
filesystems
shells

  • Property mode set to 100644
File size: 6.5 KB
Line 
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 "429b93dacb2d6ecc5ed63788b14c38e6">
10 <!ENTITY ldns-size "1.2 MB">
11 <!ENTITY ldns-buildsize "30 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 &lfs121_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">Recommended</bridgehead>
74 <para role="recommended">
75 <xref linkend="openssl"/>
76 </para>
77-->
78 <bridgehead renderas="sect4">Optional</bridgehead>
79 <para role="optional">
80 <xref linkend="make-ca"/> and
81 <xref linkend="libpcap"/> (for example programs),
82 <xref linkend="python2"/> and
83 <xref linkend="swig"/> (for Python bindings), and
84 <xref linkend="doxygen"/> (for html documentation)
85 </para>
86
87 </sect2>
88
89 <sect2 role="installation">
90 <title>Installation of ldns</title>
91
92 <para>
93 Install <application>ldns</application> by running the following
94 commands:
95 </para>
96
97<screen><userinput>./configure --prefix=/usr \
98 --sysconfdir=/etc \
99 --disable-static \
100 --with-drill &amp;&amp;
101make</userinput></screen>
102
103 <para>
104 If you have <xref linkend="doxygen"/> installed and want to build
105 html documentation, run the following command:
106 </para>
107
108<screen remap="doc"><userinput>make doc</userinput></screen>
109
110 <para>
111 This package does not come with a working test suite.
112 </para>
113
114 <para>
115 Now, as the <systemitem class="username">root</systemitem> user:
116 </para>
117
118<screen role="root"><userinput>make install</userinput></screen>
119
120 <para>
121 If you built html documentation, install it by running the following
122 commands as the <systemitem class="username">root</systemitem> user:
123 </para>
124
125<screen role="root"
126 remap="doc"><userinput>install -v -m755 -d /usr/share/doc/ldns-&ldns-version; &amp;&amp;
127install -v -m644 doc/html/* /usr/share/doc/ldns-&ldns-version;</userinput></screen>
128
129 </sect2>
130
131 <sect2 role="commands">
132 <title>Command Explanations</title>
133
134 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
135 href="../../xincludes/static-libraries.xml"/>
136
137 <para>
138 <parameter>--with-drill</parameter>: This option enables building of the
139 <command>drill</command> tool (used for obtaining debug information
140 from DNS(SEC))
141 </para>
142
143 <para>
144 <option>--disable-dane-ta-usage</option>: This option disables DANE-TA
145 (DNS-Based Authentication of Named Entities) support. It is only needed
146 if OpenSSL-1.1.0 or later is not installed.
147 </para>
148
149 <para>
150 <option>--with-examples</option>: This option enables building of the
151 example programs.
152 </para>
153
154 <para>
155 <option>--with-pyldns</option>: This option enables building of the Python
156 bindings.
157 </para>
158
159 </sect2>
160
161 <sect2 role="content">
162 <title>Contents</title>
163
164 <segmentedlist>
165 <segtitle>Installed Programs</segtitle>
166 <segtitle>Installed Library</segtitle>
167 <segtitle>Installed Directories</segtitle>
168
169 <seglistitem>
170 <seg>
171 drill and ldns-config
172 </seg>
173 <seg>
174 libldns.so and
175 /usr/lib/python&python2-majorver;/site-packages/_ldns.so
176 </seg>
177 <seg>
178 /usr/include/ldns and /usr/share/doc/ldns-&ldns-version;
179 </seg>
180 </seglistitem>
181 </segmentedlist>
182
183 <variablelist>
184 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
185 <?dbfo list-presentation="list"?>
186 <?dbhtml list-presentation="table"?>
187
188 <varlistentry id="drill">
189 <term><command>drill</command></term>
190 <listitem>
191 <para>
192 is a tool like <command>dig</command> from
193 <xref linkend="bind-utils"/> designed to get all sorts of
194 information out of the DNS
195 </para>
196 <indexterm zone="ldns drill">
197 <primary sortas="b-drill">drill</primary>
198 </indexterm>
199 </listitem>
200 </varlistentry>
201
202 <varlistentry id="ldns-config">
203 <term><command>ldns-config</command></term>
204 <listitem>
205 <para>
206 shows compiler and linker flags for ldns usage
207 </para>
208 <indexterm zone="ldns ldns-config">
209 <primary sortas="b-ldns-config">ldns-config</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="libldns">
215 <term><filename class="libraryfile">libldns.so</filename></term>
216 <listitem>
217 <para>
218 provides the <application>ldns</application> API functions to
219 programs
220 </para>
221 <indexterm zone="ldns libldns">
222 <primary sortas="c-libldns">libldns.so</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 </variablelist>
228
229 </sect2>
230
231</sect1>
Note: See TracBrowser for help on using the repository browser.