---
title: "GET /v1/locations/{location}/dns/{dnsName}:resolveConnectSettings"
method: GET
path: "/v1/locations/{location}/dns/{dnsName}:resolveConnectSettings"
tags: ["connect"]
---

# GET /v1/locations/{location}/dns/{dnsName}:resolveConnectSettings

`GET /v1/locations/{location}/dns/{dnsName}:resolveConnectSettings`

## Request

- Base URL: `https://sqladmin.googleapis.com`
- URL: `https://sqladmin.googleapis.com/v1/locations/{location}/dns/{dnsName}:resolveConnectSettings`
- Auth: one of:
  - OAuth 2 (implicit, authorization URL `https://accounts.google.com/o/oauth2/auth`, scopes: `https://www.googleapis.com/auth/cloud-platform`) and OAuth 2 (authorization code, authorization URL `https://accounts.google.com/o/oauth2/auth`, token URL `https://accounts.google.com/o/oauth2/token`, scopes: `https://www.googleapis.com/auth/cloud-platform`)
  - OAuth 2 (implicit, authorization URL `https://accounts.google.com/o/oauth2/auth`, scopes: `https://www.googleapis.com/auth/sqlservice.admin`) and OAuth 2 (authorization code, authorization URL `https://accounts.google.com/o/oauth2/auth`, token URL `https://accounts.google.com/o/oauth2/token`, scopes: `https://www.googleapis.com/auth/sqlservice.admin`)

Retrieves connect settings about a Cloud SQL instance using the instance DNS name.

## Path parameters

- `location` string, required
- `dnsName` string, required

## Response `200`

Successful response

## Changes

- **2026-10-17** `285bfb6e09bc`: 4 info
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/sqlservice.admin` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/sqlservice.admin` was removed from the endpoint's security scheme `Oauth2c`
- **2026-10-13** `ba002bd969e1`: 4 info
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/sqlservice.admin` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/sqlservice.admin` was removed from the endpoint's security scheme `Oauth2c`
- …earlier changes not shown

[Operation history](https://skmtc.dev/google/apis/sqladmin/changes/v1/locations/:location/dns/:dnsName:resolveConnectSettings/get.md)

---

[API](https://skmtc.dev/google/apis/sqladmin.md) - [All operations](https://skmtc.dev/google/apis/sqladmin/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/sqladmin/revisions/285bfb6e09bc?raw)
