dns-0.3.0: DNS libary in Haskell

Network.DNS.Lookup

Description

Upper level DNS lookup functions.

Synopsis

Documentation

lookupA :: Resolver -> Domain -> IO (Maybe [IPv4])Source

Resolving IPv4 by A.

lookupAAAA :: Resolver -> Domain -> IO (Maybe [IPv6])Source

Resolving IPv6 by AAAA.

lookupMX :: Resolver -> Domain -> IO (Maybe [(Domain, Int)])Source

Resolving Domain and its preference by MX.

lookupAviaMX :: Resolver -> Domain -> IO (Maybe [IPv4])Source

Resolving IPv4 by A via MX.

lookupAAAAviaMX :: Resolver -> Domain -> IO (Maybe [IPv6])Source

Resolving IPv6 by AAAA via MX.

lookupPTR :: Resolver -> Domain -> IO (Maybe [Domain])Source

Resolving Domain and its preference by PTR.

lookupSRV :: Resolver -> Domain -> IO (Maybe [(Int, Int, Int, Domain)])Source

Resolving Domain and its preference by SRV.