Reference documentation and code samples for the Google Cloud Domains V1 Client class CustomDns.
Configuration for an arbitrary DNS provider.
Generated from protobuf messagegoogle.cloud.domains.v1.DnsSettings.CustomDns
Namespace
Google \ Cloud \ Domains \ V1 \ DnsSettings
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name_servers
array
Required. A list of name servers that store the DNS zone for this domain. Each name server is a domain name, with Unicode domain names expressed in Punycode format.
The list of DS records for this domain, which are used to enable DNSSEC. The domain's DNS provider can provide the values to set here. If this field is empty, DNSSEC is disabled.
getNameServers
Required. A list of name servers that store the DNS zone for this domain. Each name
server is a domain name, with Unicode domain names expressed in
Punycode format.
Required. A list of name servers that store the DNS zone for this domain. Each name
server is a domain name, with Unicode domain names expressed in
Punycode format.
Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
getDsRecords
The list of DS records for this domain, which are used to enable DNSSEC.
The domain's DNS provider can provide the values to set here. If this
field is empty, DNSSEC is disabled.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Domains V1 Client - Class CustomDns (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/cloud-domains/latest/V1.DnsSettings.CustomDns)\n- [1.0.3](/php/docs/reference/cloud-domains/1.0.3/V1.DnsSettings.CustomDns)\n- [0.5.5](/php/docs/reference/cloud-domains/0.5.5/V1.DnsSettings.CustomDns)\n- [0.4.2](/php/docs/reference/cloud-domains/0.4.2/V1.DnsSettings.CustomDns)\n- [0.3.1](/php/docs/reference/cloud-domains/0.3.1/V1.DnsSettings.CustomDns)\n- [0.2.11](/php/docs/reference/cloud-domains/0.2.11/V1.DnsSettings.CustomDns) \nReference documentation and code samples for the Google Cloud Domains V1 Client class CustomDns.\n\nConfiguration for an arbitrary DNS provider.\n\nGenerated from protobuf message `google.cloud.domains.v1.DnsSettings.CustomDns`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Domains \\\\ V1 \\\\ DnsSettings\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getNameServers\n\nRequired. A list of name servers that store the DNS zone for this domain. Each name\nserver is a domain name, with Unicode domain names expressed in\nPunycode format.\n\n### setNameServers\n\nRequired. A list of name servers that store the DNS zone for this domain. Each name\nserver is a domain name, with Unicode domain names expressed in\nPunycode format.\n\n### getDsRecords\n\nThe list of DS records for this domain, which are used to enable DNSSEC.\n\nThe domain's DNS provider can provide the values to set here. If this\nfield is empty, DNSSEC is disabled.\n\n### setDsRecords\n\nThe list of DS records for this domain, which are used to enable DNSSEC.\n\nThe domain's DNS provider can provide the values to set here. If this\nfield is empty, DNSSEC is disabled."]]