zerotier / zeronsd

A DNS server for ZeroTier users
https://zerotier.com
BSD 3-Clause "New" or "Revised" License
498 stars 57 forks source link

zeronsd does not handle subnet changes well #108

Open erikh opened 3 years ago

erikh commented 3 years ago

Reproduction:

Congratulations, your server is now unusable until restart.

Will get to this over the next few weeks.

erikh commented 3 years ago

this is likely because the listening IP changed from underneath it. I think the best solution for now is to detect when there are no known addresses that zerotier-one has assigned to that interface. If that occurs, gracefully terminate non-zero to force a restart by the supervisor.

erikh commented 2 years ago

I know I said "the next few weeks" but we all saw how that went. I'm going to leave this alone as a known issue for now, it'll be complicated to resolve trivially with the current state of things.

Basically, if you do this; restart your zeronsd instance.

czy1996 commented 1 year ago

had to delete old addresses manually from the memeber list, then restart the zeronsd instance, and the dns resolution works