Описание тега dnsjava
dnsjava
is an implementation of the DNS protocol in Java. It supports all defined DNSSEC
record types as well as unknown types. It can be used for queries, zone transfers, and dynamic updates. It includes a cache that can be used by clients and a minimal implementation of a server. It supports TSIG
authenticated messages, partial DNSSEC
verification, and EDNS0
.
dnsjava
provides features and functionality beyond those which exist in the InetAddress
class. dnsjava
is written in pure Java, therefore it is fully multithreaded and in many cases is faster than the InetAddress
.
dnsjava
provides different levels of access to DNS. The high-level access allows it to perform queries for records of a given name, type, and class, and to return the answer or reason for failure. There are also functions similar to those in the InetAddress
class. A cache is used to reduce the number of DNS queries sent. The low-level access allows the direct manipulation of DNS messages and records, as well as allowing additional resolver properties to be set.
It includes a simple tool for doing DNS lookups, a dig
clone, and a dynamic update client, as well as a simple authoritative-only server.