[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 " ">
|
---|
[1f70df5b] | 9 | <!ENTITY ldns-md5sum "a79423bcc4129e6d59b616b1cae11e5e">
|
---|
| 10 | <!ENTITY ldns-size "1.3 MB">
|
---|
| 11 | <!ENTITY ldns-buildsize "18 MB">
|
---|
[5b1c44d4] | 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 |
|
---|
[80d6d7d5] | 39 | &lfs77_checked;
|
---|
[5b1c44d4] | 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
|
---|
[7dfb8c9] | 87 | <xref linkend="swig"/> (for Python bindings), and
|
---|
[5b1c44d4] | 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 |
|
---|
[f82ac3f] | 104 | <screen><userinput>./configure --prefix=/usr \
|
---|
[5b1c44d4] | 105 | --sysconfdir=/etc \
|
---|
[283bd88] | 106 | --disable-static \
|
---|
| 107 | --with-drill &&
|
---|
[5b1c44d4] | 108 | make</userinput></screen>
|
---|
| 109 |
|
---|
| 110 | <para>
|
---|
[be00429] | 111 | If you have <xref linkend="doxygen"/> installed and want to build
|
---|
[5b1c44d4] | 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>
|
---|
[1f70df5b] | 144 | <parameter>--with-drill</parameter>: This option enables building of the
|
---|
[5b1c44d4] | 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>
|
---|
[b6ff9d3f] | 173 | libldns.so and
|
---|
| 174 | /usr/lib/python&python2-majorver;/site-packages/_ldns.so
|
---|
[5b1c44d4] | 175 | </seg>
|
---|
| 176 | <seg>
|
---|
| 177 | /usr/include/ldns and /usr/share/doc/ldns-&ldns-version;
|
---|
| 178 | </seg>
|
---|
| 179 | </seglistitem>
|
---|
| 180 | </segmentedlist>
|
---|
| 181 |
|
---|
| 182 | <variablelist>
|
---|
| 183 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 184 | <?dbfo list-presentation="list"?>
|
---|
| 185 | <?dbhtml list-presentation="table"?>
|
---|
| 186 |
|
---|
| 187 | <varlistentry id="drill">
|
---|
| 188 | <term><command>drill</command></term>
|
---|
| 189 | <listitem>
|
---|
| 190 | <para>
|
---|
| 191 | is a tool like <command>dig</command> from
|
---|
| 192 | <xref linkend="bind-utils"/> designed to get all sorts of
|
---|
| 193 | information out of the DNS.
|
---|
| 194 | </para>
|
---|
| 195 | <indexterm zone="ldns drill">
|
---|
| 196 | <primary sortas="b-drill">drill</primary>
|
---|
| 197 | </indexterm>
|
---|
| 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
| 200 |
|
---|
| 201 | <varlistentry id="ldns-config">
|
---|
| 202 | <term><command>ldns-config</command></term>
|
---|
| 203 | <listitem>
|
---|
| 204 | <para>
|
---|
| 205 | shows compiler and linker flags for ldns usage.
|
---|
| 206 | </para>
|
---|
| 207 | <indexterm zone="ldns ldns-config">
|
---|
| 208 | <primary sortas="b-ldns-config">ldns-config</primary>
|
---|
| 209 | </indexterm>
|
---|
| 210 | </listitem>
|
---|
| 211 | </varlistentry>
|
---|
| 212 |
|
---|
| 213 | <varlistentry id="libldns">
|
---|
| 214 | <term><filename class="libraryfile">libldns.so</filename></term>
|
---|
| 215 | <listitem>
|
---|
| 216 | <para>
|
---|
| 217 | provides the <application>ldns</application> API functions to
|
---|
| 218 | programs.
|
---|
| 219 | </para>
|
---|
| 220 | <indexterm zone="ldns libldns">
|
---|
| 221 | <primary sortas="c-libldns">libldns.so</primary>
|
---|
| 222 | </indexterm>
|
---|
| 223 | </listitem>
|
---|
| 224 | </varlistentry>
|
---|
| 225 |
|
---|
| 226 | </variablelist>
|
---|
| 227 |
|
---|
| 228 | </sect2>
|
---|
| 229 |
|
---|
| 230 | </sect1>
|
---|