Reference documentation and code samples for the Google Cloud Domains V1alpha2 Client class CustomDns.
Configuration for an arbitrary DNS provider.
Generated from protobuf message google.cloud.domains.v1alpha2.DnsSettings.CustomDns
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. |
↳ ds_records |
array<Google\Cloud\Domains\V1alpha2\DnsSettings\DsRecord>
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.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setNameServers
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.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setDsRecords
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.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Domains\V1alpha2\DnsSettings\DsRecord>
|
Returns | |
---|---|
Type | Description |
$this |