s6-dns is a small, efficient, complete, and IPv6-ready DNS client library, with synchronous as well as asynchronous APIs. It is designed to replace libresolv in projects that need to perform DNS resolution. It also comes with small command-line utilities to make common and not so common DNS queries.
AJAPH is an object that can send AJAX requests and process the responses. It supports HTTP GET or POST requests, and synchronous or asynchronous requests with optional parameters. It can set a given page element to an image while waiting for the response. Request responses can be handled as HTML, XML, JSON, or text.