Domain Name Service (DNS) lookup via the <windns.h>/dnsapi.dll standard library

LTS Haskell 22.29:
Stackage Nightly 2024-07-18:
Latest on Hackage:

See all snapshots windns appears in

GPL-2.0-only licensed by Herbert Valerio Riedel
Maintained by
This version can be pinned in stack with:windns-,2101

Module documentation for

  • Network
    • Network.DNS

This package implements an API for accessing the Domain Name Service (DNS) resolver service via the standard windns.h/dnsapi.dll system library on Win32 systems.

This package provides the high-level API-subset of the resolv package.


  • Fix compat with GHC < 7.10
  • Clarify/relax licensing terms

  • First version. Released on an unsuspecting world.