Skip to main content How do you set up the new DNS feature? : r/zerotier
r/zerotier icon
Go to zerotier
•

How do you set up the new DNS feature?

Question / Need Advice

EDIT: Did not find any how to DNS in the documentations

Recently upgraded ZeroTier to 1.6.X and i saw the new DNS feature, how can i set it up? I'm trying to use my Router's DNS server (I'm using OpenWRT, it has ZeroTier installed)

Slash review times, eliminate bugs, and get valuable insights into your projects and code.
  • Slash review times, eliminate bugs, and get valuable insights into your projects and code.
  • Slash review times, eliminate bugs, and get valuable insights into your projects and code.
  • Slash review times, eliminate bugs, and get valuable insights into your projects and code.
  • Sort by:
    Best
    Open comment sort options
    • • Edited

    Will make a knowledgebase article soon. Thanks.

    Go to the settings section of one of your networks. There's a form for search domain and addresses.

    Make up some domain like cool.network and put in your WRT's Zerotier Address (and make sure it's dnsmasq listening on zerotier addresses)

    In your clients, turn on Allow DNS. Most clients have a UI for this. On the command line it's zerotier-cli set $network-id allowDNS=1

    Now, any queries for like japa.cool.network will go to your router.


    This isn't implemented on linux clients. There are too many ways to configure linux networking. zerotier-cli listnetworks -j has the information in it, if you want to make your own thing.

    https://zerotier.atlassian.net/wiki/spaces/SD/pages/900431890/DNS+Management

    I’d like to know as well

    Unfortunately there was no "How to DNS" in the docs, they only said you can configure x y z at my.zerotier.com

    More replies

    Remindme! 5 days

    More replies
    • • Edited

    this is working great for me across clients & OSes.... I setup a lightweight server on a VM just to run the DNS.. check out https://github.com/zerotier/zeronsd

    More replies