home-assistant.github.io/source/_addons/dnsmasq.markdown
2017-06-28 08:49:46 +02:00

1.1 KiB

layout title description date sidebar comments sharing footer
page Dnsmasq A simple dns server with benefits. 2017-04-30 13:28 true false true true

Setup and manage a Dnsmasq 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.

`interface` options are for resinos based installation. On other system you can set it to `""`, for listen on every interface.

{
  "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"}
  ],
  "interface": "eth1"
}

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.
  • interface (Optional): If a interface is set, it listen only on this interface. Need to set for resinos.