aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-11-04 23:42:34 +0100
committertv <tv@krebsco.de>2016-11-04 23:42:34 +0100
commitd63a423abbfa2789024ddec4d3585d154610c958 (patch)
tree515f41c96fe5d36065db155a79291c1a3e14a6e1 /README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..ed6c873
--- /dev/null
+++ b/README.md
@@ -0,0 +1,22 @@
+loldns
+======
+
+loldns is a toy DNS server.
+
+Dependencies
+------------
+
+- [Nix](http://nixos.org/nix/)
+- [cabal2nix](https://github.com/NixOS/cabal2nix)
+- [GNU Make](https://www.gnu.org/software/make/) :)
+
+# Run DNS server
+
+ make result
+ result/bin/loldns test.conf test.db
+
+# Run DNS server in GHCi
+
+ make ghci
+ :l loldns
+ withArgs ["test.conf","test.db"] main