Michael Orlitzky
a7cfbd80a3
Update all of the existing lookup tests with the new expected results.
2013-08-26 21:53:05 -04:00
Michael Orlitzky
8ad1806e5f
Add derived Eq,Show instances for DNSError (needed for tests).
2013-08-26 21:52:30 -04:00
Michael Orlitzky
d9b1370f8a
Rewrite lookupXviaMX and fix the remaining type signatures in Lookup.hs.
2013-08-26 21:49:53 -04:00
Michael Orlitzky
27363f0f08
Update the type signatures in Lookup.hs for the functions that require no further code changes.
2013-08-26 20:44:36 -04:00
Michael Orlitzky
a0f6b3fe3a
Update the type signatures of lookup and lookupRaw in Resolver.hs.
...
Modify lookupRaw to return errors of the appropriate type.
Eliminate the listToMaybe function in lookup so that "no results" is not treated as an error.
2013-08-26 20:42:03 -04:00
Michael Orlitzky
2e9139484c
Add the UnexpectedRDATA constructor for DNSError (see Lookup.hs for examples).
2013-08-26 20:29:33 -04:00
Michael Orlitzky
d84eebd0dd
Add the DNSError type.
2013-08-26 20:19:06 -04:00
Kazu Yamamoto
dab117854d
ver bumps up.
2013-08-18 05:56:07 +09:00
Kazu Yamamoto
310ba6c504
separating tests.
2013-07-31 13:52:22 +09:00
Kazu Yamamoto
456601f607
ver bumps up.
2013-07-24 08:57:22 +09:00
Kazu Yamamoto
6c963f0d0e
Merge pull request #8 from mjorlitzky/master
...
Add lookupNS function and an associated hspec test.
2013-07-23 16:55:07 -07:00
Michael Orlitzky
f16912308e
Add lookupNS function and an associated hspec test.
2013-07-23 12:03:34 -04:00
Kazu Yamamoto
91a13a2537
stable test for CNAME.
2012-12-11 22:29:16 +09:00
Kazu Yamamoto
fd98bafe45
stable CNAME test.
2012-12-11 22:17:26 +09:00
Kazu Yamamoto
660a504bf8
Using hspec.
2012-12-11 18:17:33 +09:00
Kazu Yamamoto
0c47bda395
adding .travis.yml
2012-12-11 17:36:18 +09:00
Kazu Yamamoto
5b0ac4390c
Using Hspec.
2012-12-11 17:35:56 +09:00
Kazu Yamamoto
10dbaaa4cc
ver bumps up.
2012-10-29 17:07:52 +09:00
Kazu Yamamoto
0fb69260fb
set conduit lower version to avoid ambiguous 'sequence'.
2012-10-29 17:06:06 +09:00
Kazu Yamamoto
12828ad915
ver bumps up.
2012-10-18 11:09:03 +09:00
Kazu Yamamoto
868378e415
doc update.
2012-10-18 11:08:54 +09:00
Kazu Yamamoto
71aae4e574
adding "." to "localhost" and using "8.8.8.8".
...
The last dot is suggested by Ben Clifford <benc>.
2012-10-17 10:29:33 +09:00
Kazu Yamamoto
3e364247ca
Using conduit.
2012-10-17 10:28:45 +09:00
Kazu Yamamoto
f392aa3a91
prevending haddock warnings.
2012-10-17 10:24:22 +09:00
Kazu Yamamoto
2eb482bfb9
cosmetic change.
2012-07-13 15:36:05 +09:00
Kazu Yamamoto
7be2952f50
cosmetic change.
2012-07-13 15:32:03 +09:00
Kazu Yamamoto
4618003319
cabal file update.
2012-07-13 15:27:28 +09:00
Kazu Yamamoto
503304747f
Merge pull request #6 from larskuhtz/master
...
Set rdlen field on serialization. Fix compilation on Windows.
2012-07-12 23:22:31 -07:00
Lars Kuhtz
78eae6c6b3
Make Network.DNS.Resolver compile on mingw32hosts
2012-06-10 14:04:34 -07:00
Lars Kuhtz
08ff21f8ce
encodeRR: compute and set the value of rdlen field during encoding
2012-05-10 08:55:29 -07:00
Kazu Yamamoto
163f05707c
ver bumps up.
2012-03-28 12:09:40 +09:00
Ben Clifford
5585edc688
When performing a raw lookup, return the whole answer even if there were no
...
queries answers. This allows the application access to authoritative data
for referrals and denials.
2012-03-27 17:35:35 +10:00
Ben Clifford
635f6bec8c
typo
2012-03-27 17:30:12 +10:00
Kazu Yamamoto
d52462c811
Using TH.
2011-12-20 12:06:43 +09:00
Kazu Yamamoto
6c465a6855
ver bumps up.
2011-12-02 12:00:38 +09:00
Kazu Yamamoto
10f30b969e
attoparsec 0.10.
2011-12-02 12:00:14 +09:00
Kazu Yamamoto
73da66a5d9
ver bumps up.
2011-11-02 10:27:43 +09:00
Kazu Yamamoto
a37c57c9a8
Merge pull request #5 from yihuang/master
...
dependent on more specific iproute version, and fix compile warnings.
2011-11-01 18:26:24 -07:00
huangyi
5a557e5583
more specific dependency and fix compile wainings.
2011-11-01 20:32:25 +08:00
Kazu Yamamoto
4fa2676715
ordering.
2011-10-24 16:14:27 +09:00
Kazu Yamamoto
d168704646
pull request from yihuang. Applying by hand.
2011-10-24 16:02:33 +09:00
Kazu Yamamoto
ee8d2b9c69
Supporting server side and brushing up.
2011-10-24 15:57:04 +09:00
Kazu Yamamoto
2b3919681b
hlint.
2011-10-24 13:45:52 +09:00
Kazu Yamamoto
6dc94202a9
hlint.
2011-10-24 13:40:01 +09:00
Kazu Yamamoto
04c4afa6f7
Merge pull request #3 from yihuang/master
...
Make this library full capable of decoding and encoding.
2011-10-23 21:32:59 -07:00
huangyi
89d6ab5832
add domain compress
2011-10-23 22:03:27 +08:00
huangyi
f16d70af84
make a simple dns proxy server to demonstrate protocol encoder and decoder
2011-10-23 13:23:10 +08:00
huangyi
d126d8fe41
make encoder and decoder invertable, and tests to ensure that.
2011-10-23 13:22:18 +08:00
Kazu Yamamoto
1cc2f6a888
ver bumps up.
2011-09-12 11:18:19 +09:00
Kazu Yamamoto
4b50a2b0cb
Supporting SRV.
2011-09-06 16:33:49 +09:00