-{"import":"d/extra1","ip":["5.6.7.8"],"alias":"extra2alias","service":[["imap", "tcp", 0, 0, 143, "mail.host.com."]]}
+{"ip":["5.6.7.8"],"alias":"extra2alias","service":[["imap", "tcp", 0, 0, 143, "mail.host.com."]]}
-{"info":{"description":"Dot-BIT Project - Official Website","registrar":"http://register.dot-bit.org"},"fingerprint":["30:B0:60:94:32:08:EC:F5:BE:DF:F4:BB:EE:52:90:2C:5D:47:62:46"],"ns":["ns0.web-sweet-web.net","ns1.web-sweet-web.net"],"map":{"":{"ns":["ns2.web-sweet-web.net","ns3.web-sweet-web.net"]}},"email":"register@dot-bit.org","import":"d/extra1"}
+{"info":{"description":"Dot-BIT Project - Official Website","registrar":"http://register.dot-bit.org"},"fingerprint":["30:B0:60:94:32:08:EC:F5:BE:DF:F4:BB:EE:52:90:2C:5D:47:62:46"],"map":{"":{"ip6":["2001:4860:0:1001::68"]}},"email":"register@dot-bit.org","import":"d/extra1"}
(\e -> return (Left (show (e :: IOException))))
main = do
- d <- descendNmcDom queryOp [] $ seedNmcDom "root"
- putStrLn $ show d
+ descendNmcDom queryOp [] (seedNmcDom "root") >>= print
+ descendNmcDom queryOp ["_tcp","_smtp"] (seedNmcDom "root") >>= print