[5b1c44d4] | 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 |
|
---|
[c6b192c] | 7 | <!ENTITY ldns-download-http "https://www.nlnetlabs.nl/downloads/ldns/ldns-&ldns-version;.tar.gz">
|
---|
[5b1c44d4] | 8 | <!ENTITY ldns-download-ftp " ">
|
---|
[6e8afde] | 9 | <!ENTITY ldns-md5sum "563a799efbafb35e691da42921bad031">
|
---|
[e676cd0] | 10 | <!ENTITY ldns-size "1.2 MB">
|
---|
[6e8afde] | 11 | <!ENTITY ldns-buildsize "29 MB (with docs)">
|
---|
[e676cd0] | 12 | <!ENTITY ldns-time "0.2 SBU (with docs)">
|
---|
[5b1c44d4] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="ldns" xreflabel="ldns-&ldns-version;">
|
---|
| 16 | <?dbhtml filename="ldns.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>ldns-&ldns-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="ldns">
|
---|
| 25 | <primary sortas="a-ldns">ldns</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to ldns</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | <application>ldns</application> is a fast DNS library with the goal to
|
---|
| 33 | simplify DNS programming and to allow developers to easily create software
|
---|
| 34 | conforming to current RFCs and Internet drafts. This packages also
|
---|
| 35 | includes the <command>drill</command> tool.
|
---|
| 36 | </para>
|
---|
| 37 |
|
---|
[20a35ab] | 38 | &lfs110a_checked;
|
---|
[5b1c44d4] | 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&ldns-download-http;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&ldns-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download MD5 sum: &ldns-md5sum;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Download size: &ldns-size;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated disk space required: &ldns-buildsize;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>
|
---|
| 69 | Estimated build time: &ldns-time;
|
---|
| 70 | </para>
|
---|
| 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect3">ldns Dependencies</bridgehead>
|
---|
[94b42903] | 75 | <!--
|
---|
[5b1c44d4] | 76 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 77 | <para role="recommended">
|
---|
| 78 | <xref linkend="openssl"/>
|
---|
| 79 | </para>
|
---|
[94b42903] | 80 | -->
|
---|
[5b1c44d4] | 81 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 82 | <para role="optional">
|
---|
[2198a32] | 83 | <xref linkend="make-ca"/> and
|
---|
[5b1c44d4] | 84 | <xref linkend="libpcap"/> (for example programs),
|
---|
| 85 | <xref linkend="python2"/> and
|
---|
[7dfb8c9] | 86 | <xref linkend="swig"/> (for Python bindings), and
|
---|
[5b1c44d4] | 87 | <xref linkend="doxygen"/> (for html documentation)
|
---|
| 88 | </para>
|
---|
| 89 |
|
---|
| 90 | <para condition="html" role="usernotes">User Notes:
|
---|
| 91 | <ulink url="&blfs-wiki;/ldns"/>
|
---|
| 92 | </para>
|
---|
| 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2 role="installation">
|
---|
| 96 | <title>Installation of ldns</title>
|
---|
| 97 |
|
---|
| 98 | <para>
|
---|
| 99 | Install <application>ldns</application> by running the following
|
---|
| 100 | commands:
|
---|
| 101 | </para>
|
---|
| 102 |
|
---|
[e676cd0] | 103 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 104 | --sysconfdir=/etc \
|
---|
| 105 | --disable-static \
|
---|
| 106 | --with-drill &&
|
---|
[5b1c44d4] | 107 | make</userinput></screen>
|
---|
| 108 |
|
---|
| 109 | <para>
|
---|
[f3429309] | 110 | If you have <xref linkend="doxygen"/> installed and want to build
|
---|
[5b1c44d4] | 111 | html documentation, run the following command:
|
---|
| 112 | </para>
|
---|
| 113 |
|
---|
[2f3e3de9] | 114 | <screen remap="doc"><userinput>make doc</userinput></screen>
|
---|
[5b1c44d4] | 115 |
|
---|
| 116 | <para>
|
---|
[d224244f] | 117 | This package does not come with a working test suite.
|
---|
[5b1c44d4] | 118 | </para>
|
---|
| 119 |
|
---|
| 120 | <para>
|
---|
| 121 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 122 | </para>
|
---|
| 123 |
|
---|
| 124 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 125 |
|
---|
| 126 | <para>
|
---|
| 127 | If you built html documentation, install it by running the following
|
---|
| 128 | commands as the <systemitem class="username">root</systemitem> user:
|
---|
| 129 | </para>
|
---|
| 130 |
|
---|
[2f3e3de9] | 131 | <screen role="root"
|
---|
| 132 | remap="doc"><userinput>install -v -m755 -d /usr/share/doc/ldns-&ldns-version; &&
|
---|
[5b1c44d4] | 133 | install -v -m644 doc/html/* /usr/share/doc/ldns-&ldns-version;</userinput></screen>
|
---|
| 134 |
|
---|
| 135 | </sect2>
|
---|
| 136 |
|
---|
| 137 | <sect2 role="commands">
|
---|
| 138 | <title>Command Explanations</title>
|
---|
| 139 |
|
---|
| 140 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 141 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 142 |
|
---|
| 143 | <para>
|
---|
[1f70df5b] | 144 | <parameter>--with-drill</parameter>: This option enables building of the
|
---|
[8558044] | 145 | <command>drill</command> tool (used for obtaining debug information
|
---|
[e676cd0] | 146 | from DNS(SEC))
|
---|
[5b1c44d4] | 147 | </para>
|
---|
| 148 |
|
---|
[d719805] | 149 | <para>
|
---|
| 150 | <option>--disable-dane-ta-usage</option>: This option disables DANE-TA
|
---|
[719422a8] | 151 | (DNS-Based Authentication of Named Entities) support. It is only needed
|
---|
| 152 | if OpenSSL-1.1.0 or later is not installed.
|
---|
[d719805] | 153 | </para>
|
---|
| 154 |
|
---|
[5b1c44d4] | 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>
|
---|
[b6ff9d3f] | 180 | libldns.so and
|
---|
| 181 | /usr/lib/python&python2-majorver;/site-packages/_ldns.so
|
---|
[5b1c44d4] | 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
|
---|
[4c24eb0a] | 200 | information out of the DNS
|
---|
[5b1c44d4] | 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>
|
---|
[4c24eb0a] | 212 | shows compiler and linker flags for ldns usage
|
---|
[5b1c44d4] | 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
|
---|
[4c24eb0a] | 225 | programs
|
---|
[5b1c44d4] | 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>
|
---|