---
name: "ldns-resolver"
section: "1"
platform: "linux"
package: "ldns"
version: "1.9.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/ldns-resolver"
---

# ldns-resolver(1)

tries to create a resolver from a resolv.conf file.

## NAME

ldns-resolver - tries to create a resolver from a resolv.conf file.

## SYNOPSIS

**ldns-resolver** *file*

## DESCRIPTION

**ldns-resolver** tries to create a resolver from a resolv.conf file. This is only useful to test the library for robustness with input data.

## OPTIONS

**ldns-resolver** takes a filename of the resolv.conf file as input. For example *ldns-resolver /etc/resolv.conf* will show if the file can be parsed successfully.

## AUTHOR

Written by the ldns team as an example for ldns usage.

## REPORTING BUGS

Report bugs to \<dns-team@nlnetlabs.nl\>.

## COPYRIGHT

Copyright (C) 2005 NLnet Labs. This is free software. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
