Browse Source

import dns field from gw node

abhishek9686 6 months ago
parent
commit
aa84d43f1c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      pro/controllers/users.go

+ 1 - 0
pro/controllers/users.go

@@ -1104,6 +1104,7 @@ func getUserRemoteAccessGwsV1(w http.ResponseWriter, r *http.Request) {
 			}
 
 			gws := userGws[node.Network]
+			extClient.DNS = node.IngressDNS
 			extClient.AllowedIPs = logic.GetExtclientAllowedIPs(extClient)
 			gws = append(gws, models.UserRemoteGws{
 				GwID:              node.ID.String(),