resolv

Domain Name Service (DNS) lookup via the libresolv standard library routines

Version on this page:0.1.1.1@rev:1
LTS Haskell 22.14:0.2.0.2@rev:3
Stackage Nightly 2024-03-28:0.2.0.2@rev:3
Latest on Hackage:0.2.0.2@rev:3

See all snapshots resolv appears in

GPL-3.0-only licensed by Herbert Valerio Riedel
Maintained by [email protected]
This version can be pinned in stack with:resolv-0.1.1.1@sha256:aa563441c00ba5094908d0c4fdee4f76344f9055367c02c7620930d487255e95,4272

Module documentation for 0.1.1.1

Used by 1 package in nightly-2018-04-14(full list with versions):

This package implements an API for accessing the Domain Name Service (DNS) resolver service via the standard libresolv system library (whose API is often available directly via the standard libc C library) on Unix systems.

This package also includes support for decoding message record types as defined in the following RFCs:

  • RFC 1035: Domain Names - Implementation And Specification

  • RFC 1183: New DNS RR Definitions

  • RFC 2782: A DNS RR for specifying the location of services (DNS SRV)

  • RFC 2915: The Naming Authority Pointer (NAPTR) DNS Resource Record

  • RFC 3596: DNS Extensions to Support IP Version 6

  • RFC 4034: Resource Records for the DNS Security Extensions

  • RFC 4255: Using DNS to Securely Publish Secure Shell (SSH) Key Fingerprints

  • RFC 4408: Sender Policy Framework (SPF) for Authorizing Use of Domains in E-Mail, Version 1

  • RFC 5155: DNS Security (DNSSEC) Hashed Authenticated Denial of Existence

  • RFC 6844: DNS Certification Authority Authorization (CAA) Resource Record

  • RFC 6891: Extension Mechanisms for DNS (EDNS(0))

  • RFC 7553: The Uniform Resource Identifier (URI) DNS Resource Record

Changes

Revision history for resolv

0.1.1.1

  • Improve Autoconf script

0.1.1.0

  • Use Autoconf to detect which library (if any) to link for res_query(3)
  • Use reentrant res_nquery(3) API if available and signal via new resIsReentrant :: Bool constant
  • Expose DnsException and QR

0.1.0.0

  • First version. Released on an unsuspecting world.