[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 |
|
---|
| 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 "9ab2b402127cf24dffefaacbb727cad7">
|
---|
| 10 | <!ENTITY ldns-size "1.1 MB">
|
---|
| 11 | <!ENTITY ldns-buildsize "14 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 | &lfs73_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 | <ulink url="http://www.swig.org/">SWIG</ulink> (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 |
|
---|
[117dedb] | 104 | <screen><userinput>./configure --prefix=/usr \
|
---|
[5b1c44d4] | 105 | --sysconfdir=/etc \
|
---|
| 106 | --disable-static \
|
---|
| 107 | --with-drill &&
|
---|
| 108 | make</userinput></screen>
|
---|
| 109 |
|
---|
| 110 | <para>
|
---|
| 111 | If you have <xref linkend="doxygen"/> package installed and want to build
|
---|
| 112 | html documentation, run the following command:
|
---|
| 113 | </para>
|
---|
| 114 |
|
---|
| 115 | <screen><userinput>make doc</userinput></screen>
|
---|
| 116 |
|
---|
| 117 | <para>
|
---|
[d224244f] | 118 | This package does not come with a working test suite.
|
---|
[5b1c44d4] | 119 | </para>
|
---|
| 120 |
|
---|
| 121 | <para>
|
---|
| 122 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 123 | </para>
|
---|
| 124 |
|
---|
| 125 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 126 |
|
---|
| 127 | <para>
|
---|
| 128 | If you built html documentation, install it by running the following
|
---|
| 129 | commands as the <systemitem class="username">root</systemitem> user:
|
---|
| 130 | </para>
|
---|
| 131 |
|
---|
| 132 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/ldns-&ldns-version; &&
|
---|
| 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>
|
---|
| 144 | <option>--with-drill</option>: This option enables building of the
|
---|
| 145 | <command>drill</command> tool.
|
---|
| 146 | </para>
|
---|
| 147 |
|
---|
| 148 | <para>
|
---|
| 149 | <option>--with-examples</option>: This option enables building of the
|
---|
| 150 | example programs.
|
---|
| 151 | </para>
|
---|
| 152 |
|
---|
| 153 | <para>
|
---|
| 154 | <option>--with-pyldns</option>: This option enables building of the Python
|
---|
| 155 | bindings.
|
---|
| 156 | </para>
|
---|
| 157 |
|
---|
| 158 | </sect2>
|
---|
| 159 |
|
---|
| 160 | <sect2 role="content">
|
---|
| 161 | <title>Contents</title>
|
---|
| 162 |
|
---|
| 163 | <segmentedlist>
|
---|
| 164 | <segtitle>Installed Programs</segtitle>
|
---|
| 165 | <segtitle>Installed Library</segtitle>
|
---|
| 166 | <segtitle>Installed Directories</segtitle>
|
---|
| 167 |
|
---|
| 168 | <seglistitem>
|
---|
| 169 | <seg>
|
---|
| 170 | drill and ldns-config
|
---|
| 171 | </seg>
|
---|
| 172 | <seg>
|
---|
| 173 | libldns.so
|
---|
| 174 | </seg>
|
---|
| 175 | <seg>
|
---|
| 176 | /usr/include/ldns and /usr/share/doc/ldns-&ldns-version;
|
---|
| 177 | </seg>
|
---|
| 178 | </seglistitem>
|
---|
| 179 | </segmentedlist>
|
---|
| 180 |
|
---|
| 181 | <variablelist>
|
---|
| 182 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 183 | <?dbfo list-presentation="list"?>
|
---|
| 184 | <?dbhtml list-presentation="table"?>
|
---|
| 185 |
|
---|
| 186 | <varlistentry id="drill">
|
---|
| 187 | <term><command>drill</command></term>
|
---|
| 188 | <listitem>
|
---|
| 189 | <para>
|
---|
| 190 | is a tool like <command>dig</command> from
|
---|
| 191 | <xref linkend="bind-utils"/> designed to get all sorts of
|
---|
| 192 | information out of the DNS.
|
---|
| 193 | </para>
|
---|
| 194 | <indexterm zone="ldns drill">
|
---|
| 195 | <primary sortas="b-drill">drill</primary>
|
---|
| 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 |
|
---|
| 200 | <varlistentry id="ldns-config">
|
---|
| 201 | <term><command>ldns-config</command></term>
|
---|
| 202 | <listitem>
|
---|
| 203 | <para>
|
---|
| 204 | shows compiler and linker flags for ldns usage.
|
---|
| 205 | </para>
|
---|
| 206 | <indexterm zone="ldns ldns-config">
|
---|
| 207 | <primary sortas="b-ldns-config">ldns-config</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 |
|
---|
| 212 | <varlistentry id="libldns">
|
---|
| 213 | <term><filename class="libraryfile">libldns.so</filename></term>
|
---|
| 214 | <listitem>
|
---|
| 215 | <para>
|
---|
| 216 | provides the <application>ldns</application> API functions to
|
---|
| 217 | programs.
|
---|
| 218 | </para>
|
---|
| 219 | <indexterm zone="ldns libldns">
|
---|
| 220 | <primary sortas="c-libldns">libldns.so</primary>
|
---|
| 221 | </indexterm>
|
---|
| 222 | </listitem>
|
---|
| 223 | </varlistentry>
|
---|
| 224 |
|
---|
| 225 | </variablelist>
|
---|
| 226 |
|
---|
| 227 | </sect2>
|
---|
| 228 |
|
---|
| 229 | </sect1>
|
---|