From 1ba6a754ac229d034f3886583e5addee0588eb56 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Tue, 23 May 2017 17:28:49 +0200 Subject: [PATCH] Create dhcp_server.markdown --- source/_addons/dhcp_server.markdown | 42 +++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 source/_addons/dhcp_server.markdown diff --git a/source/_addons/dhcp_server.markdown b/source/_addons/dhcp_server.markdown new file mode 100644 index 00000000000..b947f447df5 --- /dev/null +++ b/source/_addons/dhcp_server.markdown @@ -0,0 +1,42 @@ +--- +layout: page +title: "DHCP server" +description: "A simple dhcp server" +date: 2017-04-30 13:28 +sidebar: true +comments: false +sharing: true +footer: true +--- + +Create a simple DHCP server for your network and allow set fix ip for some devices. + +```json +{ + "domain": "mynetwork.local", + "dns": ["8.8.8.8", "8.8.4.4"], + "networks": [ + { + "subnet": "192.168.1.0", + "netmask": "255.255.255.0", + "range_start": "192.168.1.100", + "range_end": "192.168.1.200", + "broadcast": "192.168.1.254", + "routers": ["192.168.1.1"] + } + ], + "hosts": [ + { + "name": "webcam_xy", + "mac": "aa:bb:ee:cc", + "ip": "192.168.1.40" + } + ] +} +``` + +Configuration variables: + +- **token** (*Required*): Your Duck DNS API key. +- **domains** (*Required*): A list of domains to update DNS. +- **seconds** (*Optional*): Seconds between updates to Duck DNS.