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