set dns for tun

This commit is contained in:
ginuerzh
2025-02-25 20:39:33 +08:00
parent 69a0aa8853
commit 04d1587a77
4 changed files with 43 additions and 18 deletions
+1
View File
@@ -14,4 +14,5 @@ type Config struct {
MTU int
Gateway net.IP
Router router.Router
DNS []net.IP
}