-module PowerDns ( RRType
+module PowerDns ( RRType(..)
, PdnsRequest(..)
, pdnsParse
, pdnsOut
, localIpAddress = getLIp ver xs
, ednsSubnetAddress = getRIp ver xs
})
- _ -> Left s
+ _ -> Left $ "Unparseable PDNS Request: " ++ s
-pdnsOut :: NmcDom -> String
-pdnsOut d = show d
+pdnsOut :: RRType -> NmcDom -> String
+pdnsOut _ d = show d