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 todnsmasq
. - 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 configuringA
(IPv4) andAAAA
(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.
- Member IDs:
📚 Read the full add-on documentation
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.
Note: this addon require [ZeroTier Addon][zerotier-addon] to be installed.
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.