diff options
author | Kazu Yamamoto <kazu@iij.ad.jp> | 2010-03-18 12:05:07 +0900 |
---|---|---|
committer | Kazu Yamamoto <kazu@iij.ad.jp> | 2010-03-18 12:05:07 +0900 |
commit | 5bcd3435c5332376f7a33f91dfebd3a104043200 (patch) | |
tree | e30093ba3f5ba8380b29df379aabe1c18d2fd077 /Network/DNS.hs | |
parent | c28ccc6c8bf8354654b6828e75390d721c8b635e (diff) |
documentation.
Diffstat (limited to 'Network/DNS.hs')
-rw-r--r-- | Network/DNS.hs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Network/DNS.hs b/Network/DNS.hs index 9f5653b..7c027f7 100644 --- a/Network/DNS.hs +++ b/Network/DNS.hs @@ -1,3 +1,20 @@ +{-| + DNS library written in Haskell. + + Currently, only resolver side is supported. This code is written in + Haskell, not using FFI. So, the \"-threaded\" option for GHC is not + necessary. + + Sample code: + +@ + import qualified Network.DNS as DNS (lookup) + import Network.DNS hiding (lookup) + main :: IO () + main = makeDefaultResolver >>= DNS.lookup "www.iij.ad.jp" A >>= print +@ +-} + module Network.DNS ( module Network.DNS.Types , module Network.DNS.Resolver |