Skip to content

daoudeddy/hassio-addons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZeroNS Home Assistant Addon

GitHub Release

Supports aarch64 Architecture Supports amd64 Architecture Supports armv7 Architecture Supports i386 Architecture

Github Actions

GitHub Activity

Zerotier ZeroNS home assistant addon

About

ZeroNS provides names that are a part of ZeroTier Central's configured networks; once provided an IPv4-capable network it:

  • Listens on the local interface joined to that network -- you will want to start one ZeroNS per ZeroTier network.
  • Provides general DNS by forwarding all queries to /etc/resolv.conf resolvers that do not match the TLD, similar to dnsmasq.
  • Tells Central to point all clients that have the "Manage DNS" settings turned on to resolve to it.
  • Finally, sets a provided TLD (.home.arpa is the default; recommended by IANA), as well as configuring A (IPv4) and AAAA (IPv6) records for:
    • Member IDs: zt-<memberid>.<tld> will resolve to the IPv4 & IPv6 addresses for them.
    • Names: if the names are compatible with DNS names, they will be converted as such: to <name>.<tld>.
      • Please note that collisions are possible and that it's up to the admin to prevent them.
    • It additionally includes PTR records for members, in all scenarios other than 6plane.
    • Wildcard everything mode: this mode enables wildcards for all names under the TLD; for example my-site.zt-<memberid>.<tld> will resolve to the member's IP, and named hosts work the same way.

📚 Read the full add-on documentation

Installation

Navigate in your Home Assistant frontend to Supervisor -> Add-on Store and add this URL as an additional repository:

https://github.com/daoudeddy/hassio-addons

or you can add it by clicking the button below.

Add repository to your Home Assitant instance.

Note: this addon require [ZeroTier Addon][zerotier-addon] to be installed.

License

MIT License

Copyright (c) 2019-2022 Eddy Daoud

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.