yggdrasil-network / yggdrasil-go

An experiment in scalable routing as an encrypted IPv6 overlay network
https://yggdrasil-network.github.io
Other
3.48k stars 239 forks source link

Feature for specifying DNS servers addresses for TUN from configuration file #1125

Open SNMetamorph opened 8 months ago

SNMetamorph commented 8 months ago

This is how WireGuard does. Now there is an issue that occurs on Windows: when you configure DNS for Yggdrasil TAP interface, all settings are being flushed on every Yggdrasil service restart. This feature can fully overcome this issue.

https://github.com/pirate/wireguard-docs#dns-2

majestrate commented 6 months ago

this requires running in tap mode on windows, right?

SNMetamorph commented 6 months ago

this requires running in tap mode on windows, right?

I'm not 100% sure about this, but more likely no. WireGuard does this without using TAP mode at all.