From a0600c1d3eee675bb5fd6d7af97fe7a45b0ea19e Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Thu, 25 May 2017 01:09:48 +0200 Subject: [PATCH] Create dnsmasq.markdonw --- source/_addons/dnsmasq.markdonw | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 source/_addons/dnsmasq.markdonw diff --git a/source/_addons/dnsmasq.markdonw b/source/_addons/dnsmasq.markdonw new file mode 100644 index 00000000000..dd1e52a5170 --- /dev/null +++ b/source/_addons/dnsmasq.markdonw @@ -0,0 +1,34 @@ +--- +layout: page +title: "Dnsmasq" +description: "A simple dns server with benefits." +date: 2017-04-30 13:28 +sidebar: true +comments: false +sharing: true +footer: true +--- + +Setup and manage a [Dnsmasq](http://thekelleys.org.uk/dnsmasq/doc.html) dns server. This allow your to manipulate some dns requests. I.e. that inside your network, your homeassistant domain will resolve with a internal address. + +

+At the moment, it will not work with resinos! +

+ +```json +{ + "defaults": ["8.8.8.8", "8.8.4.4"], + "forwards": [ + {"domain": "mystuff.local", "server": "192.168.1.40"} + ], + "hosts": [ + {"host": "home.mydomain.io", "ip": "192.168.1.10"} + ], +} +``` + +Configuration variables: + +- **defaults** (*Required*): A list of dns server to forward default requests. +- **forwards** (*Optional*): A list of domains that will forward to a specific server. +- **hosts** (*Optional*): A list of hosts to resolve it static.