Skip to content

Get a VPN DNS configuration

Request

Security
JWTAuthorizer
Path
clusterFQDNstringrequired

Cluster FQDN

networkNamestringrequired

Network name

curl -i -X GET \
  'https://apidocs.trustgrid.io/_mock/v2/cluster/{clusterFQDN}/vpn/{networkName}/dns' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
enabledboolean

Whether DNS forwarding is enabled on this VPN network

upstreamArray of objects

Upstream DNS servers to forward queries to

fqdnstring
networkNamestring
Response
{ "enabled": true, "upstream": [ {} ], "fqdn": "string", "networkName": "string" }