summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/lanparty/lancache-dns.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-11-08 10:52:06 +0100
committermakefu <github@syntax-fehler.de>2017-11-08 10:52:06 +0100
commitf45a5057aa6584177064622ba13f53e59238dae8 (patch)
tree2539e184e294edd36e7ac7c0fd6c53b0ba6b9dda /makefu/2configs/lanparty/lancache-dns.nix
parent6d2bcf3929e1a01f22f11fbe93dbfb47d68f9311 (diff)
ma lanparty/lancache-dns: add documentation
Diffstat (limited to 'makefu/2configs/lanparty/lancache-dns.nix')
-rw-r--r--makefu/2configs/lanparty/lancache-dns.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/makefu/2configs/lanparty/lancache-dns.nix b/makefu/2configs/lanparty/lancache-dns.nix
index 498162d13..c9da7c4c4 100644
--- a/makefu/2configs/lanparty/lancache-dns.nix
+++ b/makefu/2configs/lanparty/lancache-dns.nix
@@ -2,6 +2,8 @@
with import <stockholm/lib>;
let
upstream-server = "8.8.8.8";
+ # make sure the router pins the ip address to the deployed host
+ # and set it as dns server ( dhcp option 6,192.168.10.10 )
local_ip = "192.168.10.10";
extra-config = pkgs.writeText "local.conf" ''