Chapter 14. BIND APIs and Resolver Libraries

This chapter is primarily intended for programmers and designers who wish to modify the basic functionality of BIND, need to interface to the libraries available with BIND, or need to interface to the standard DNS-related POSIX calls supported by libc. Reasonable knowledge of the C language is required to make sense of most of the information in this chapter.

DNS Libraries and APIs

A confusing number of library functions are available with BIND. They fall into three categories:

  • Standard BIND 9 libraries, including from BIND 9.7 a library called libirs which may now be separately built and exported. It uses /etc/resolv.conf but optionally adds a new file (dns.conf) to support addition functionality. This ...

Get Pro DNS and BIND 10 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.