Ausführliche Beschreibung | High-level lookups:
.
The dns library provides several easy-to-use DNS lookup routines:
dns_ip4, dns_ip4_qualify, dns_name4, dns_mx, and dns_txt.
.
dns_ip4_qualify supports the traditional configuration mechanisms for
hostname rewriting: $LOCALDOMAIN, /etc/resolv.conf, and gethostname. It
also supports a powerful new user-controlled rewriting mechanism.
.
The functions that read /etc/resolv.conf automatically reread it every ten
minutes, so system administrators don't have to kill long-running programs.
.
Low-level lookups:
.
The dns_domain_* and dns_packet_* functions make it easy to safely parse DNS
packets. The dns_transmit_* functions send DNS queries of arbitrary types to
arbitrary servers. These are the functions used in the dnscache program.
.
See http://cr.yp.to/djbdns/blurb/library.html for details.
.
This package contains the shared library.
|