ldns-1.9.2

#### Beyond Linux® From Scratch (systemd Edition) - Version r13.1-84

### Chapter 17. Networking Libraries

- Prev

  kdsoap-ws-discovery-client-0.4.0

- Next

  libevent-2.1.13

- Up
- Home

# ldns-1.9.2

## 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.

### Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

### Package Information

- Download (HTTP): https://www.nlnetlabs.nl/downloads/ldns/ldns-1.9.2.tar.gz

- Download MD5 sum: 6d17848f387d7aa2e9daf7d6ac3c1b13

- Download size: 1.3 MB

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

- Estimated build time: 0.2 SBU (with docs)

### ldns Dependencies

#### Optional

make-ca-1.16.1 and libpcap-1.10.7 (for example programs), SWIG-4.5.1 (for Python bindings), and Doxygen-1.18.0 (for html documentation)

## 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.18.0 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.9.2 &&
    install -v -m644 doc/html/* /usr/share/doc/ldns-1.9.2

## 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))

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

`--with-pyldns`: This option enables building of the Python bindings. If you use this option, you will need to add PYTHON=/usr/bin/python3 to the configure line as well.

## Contents

Installed Programs: drill and ldns-config
Installed Library: libldns.so
Installed Directories: /usr/include/ldns and /usr/share/doc/ldns-1.9.2

### Short Descriptions

drill | is a tool which is similar to dig from BIND Utilities-9.20.27 that queries extensive information from DNS servers
ldns-config | shows the compiler and linker flags needed to link to ldns
`libldns.so` | provides the ldns API functions to programs

- Prev

  kdsoap-ws-discovery-client-0.4.0

- Next

  libevent-2.1.13

- Up
- Home