From: Michael Orlitzky Date: Sat, 1 Feb 2020 22:55:57 +0000 (-0500) Subject: src/DNS.hs: update a test, example.com now has a NULLMX record. X-Git-Tag: 0.5.2~2 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=897b33cb7545acaf3afd36d321862227539c7254;p=haeredes.git src/DNS.hs: update a test, example.com now has a NULLMX record. --- diff --git a/src/DNS.hs b/src/DNS.hs index 2ebde3c..aa46f4b 100644 --- a/src/DNS.hs +++ b/src/DNS.hs @@ -53,12 +53,12 @@ resolve_address s = -- -- Examples: -- --- The example domain, example.com, has no MX record. +-- The example domain, example.com, has a NULLMX record. -- -- >>> rs <- makeResolvSeed defaultResolvConf -- >>> let domain = BS.pack "example.com." -- >>> withResolver rs $ \resolver -> lookupMX' resolver domain --- ("example.com.",Right []) +-- ("example.com.",Right ["."]) -- lookupMX' :: Resolver -> Domain -> IO LookupResult lookupMX' resolver domain =