Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


This page lists information for application developers that like to use DNS apart from the simple name-to-address mapping provided by libc getaddrinfo()


  • DnsQuery: MSN Information on the DnsQuery() API call available in Windows operating systems:
  • GNU adns: Advanced, easy to use, asynchronous-capable DNS client library and utilities:
  • dnsruby: Dnsruby is a pure Ruby DNS client library. It provides a complete DNS client implementation, including DNSSEC. It can also load (BIND) zone files. Dnsruby has been used in OpenDNSSEC and ISC's DLV service.
  • dnspython: dnspython is a DNS toolkit for Python. It supports almost all record types. It can be used for queries, zone transfers, and dynamic updates. It supports TSIG authenticated messages and EDNS0.
  • BIND10: the BIND 10 DNS server comes with a dnslibrary and a python interface:
  • ldns: The goal of ldns is to simplify DNS programming, it supports recent RFCs like the DNSSEC documents, and allows developers to easily create software conforming to current RFCs, and experimental software for current Internet Drafts. A secondary benefit of using ldns is speed; ldns is written in C it should be a lot faster than Perl.
  • Net::DNS: Net::DNS is a DNS resolver implemented in Perl. It allows the programmer to perform nearly any type of DNS query from a Perl script.
  • c-ares: c-ares is a C library that performs DNS requests and name resolves asynchronously.
  • RULI Resolver User Layer Interface: RULI stands for Resolver User Layer Interface. It's a library built on top of an asynchronous DNS stub resolver. RULI provides an easy-to-use interface for querying DNS SRV resource records. The goal is to promote wide deployment of SRV-cognizant software. RULI aims to fully support SRV-related standards. There are bindings for PHP, Perl, Guile/Scheme, Java, and Lua. IPv6 is supported:
  • dnsjava: dnsjava is an implementation of DNS in Java. It supports all defined record types (including the DNSSEC types), and unknown types. It can be used for queries, zone transfers, and dynamic updates. It includes a cache which can be used by clients, and a minimal implementation of a server. It supports TSIG authenticated messages, partial DNSSEC verification, and EDNS0.
  • Library DNS (from nmap): Simple DNS library supporting packet creation, encoding, decoding, and querying.
  • .NET DNS Class: Provides simple domain name resolution functionality.
  • libval is a validating library that comes with the DNSSEC-Tools package. It allows applications to issue DNS queries and verify that the returned responses are trusted as defined by the policies defined in the system's dnsval.conf file.