ldns-1.7.0

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 17. Networking Libraries

- Prev

  glib-networking-2.58.0

- Next

  libevent-2.1.8

- Up
- Home

# ldns-1.7.0

## Introduction to ldns

ldns is a fast DNS library with the goal to simplify DNS programming and to allow developers to easily create software conforming to current RFCs and Internet drafts. This packages also includes the drill tool.

This package is known to build and work properly using an LFS-8.4 platform.

### Package Information

- Download (HTTP): http://www.nlnetlabs.nl/downloads/ldns/ldns-1.7.0.tar.gz

- Download MD5 sum: 74b75c9ba69fb3af2a0c26244ecfd9f6

- Download size: 1.2 MB

- Estimated disk space required: 28 MB (with docs)

- Estimated build time: 0.2 SBU (with docs)

### ldns Dependencies

#### Optional

make-ca-1.2 and libpcap-1.9.0 (for example programs), Python-2.7.15 and SWIG-3.0.12 (for Python bindings), and Doxygen-1.8.15 (for html documentation)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/ldns

## Installation of ldns

Install ldns by running the following commands:

    ./configure --prefix=/usr           \
                --sysconfdir=/etc       \
                --disable-static        \
                --with-drill            &&
    make

If you have Doxygen-1.8.15 installed and want to build html documentation, run the following command:

    make doc

This package does not come with a working test suite.

Now, as the `root` user:

    make install

If you built html documentation, install it by running the following commands as the `root` user:

    install -v -m755 -d /usr/share/doc/ldns-1.7.0 &&
    install -v -m644 doc/html/* /usr/share/doc/ldns-1.7.0

## Command Explanations

`--disable-static`: This switch prevents installation of static versions of the libraries.

`--with-drill`: This option enables building of the drill tool (used for obtaining debug information from DNS(SEC))

`--disable-dane-ta-usage`: This option disables DANE-TA (DNS-Based Authentication of Named Entities) support. It is only needed if OpenSSL-1.1.0 or later is not installed.

`--with-examples`: This option enables building of the example programs.

`--with-pyldns`: This option enables building of the Python bindings.

## Contents

Installed Programs: drill and ldns-config
Installed Library: libldns.so and /usr/lib/python2.7/site-packages/_ldns.so
Installed Directories: /usr/include/ldns and /usr/share/doc/ldns-1.7.0

### Short Descriptions

drill | is a tool like dig from BIND Utilities-9.12.3-P4 designed to get all sorts of information out of the DNS.
ldns-config | shows compiler and linker flags for ldns usage.
`libldns.so` | provides the ldns API functions to programs.

Last updated on 2019-02-18 12:44:04 -0600

- Prev

  glib-networking-2.58.0

- Next

  libevent-2.1.8

- Up
- Home