Reference documentation and code samples for the Google Cloud Domains V1 Client class GlueRecord.
Defines a host on your domain that is a DNS name server for your domain and/or other domains. Glue records are a way of making the IP address of a name server known, even when it serves DNS queries for its parent domain.
For example, when ns.example.com is a name server for example.com, the
host ns.example.com must have a glue record to break the circular DNS
reference.
Generated from protobuf message google.cloud.domains.v1.DnsSettings.GlueRecord
Namespace
Google \ Cloud \ Domains \ V1 \ DnsSettingsMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ host_name |
string
Required. Domain name of the host in Punycode format. |
↳ ipv4_addresses |
array
List of IPv4 addresses corresponding to this host in the standard decimal format (e.g. |
↳ ipv6_addresses |
array
List of IPv6 addresses corresponding to this host in the standard hexadecimal format (e.g. |
getHostName
Required. Domain name of the host in Punycode format.
| Returns | |
|---|---|
| Type | Description |
string |
|
setHostName
Required. Domain name of the host in Punycode format.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIpv4Addresses
List of IPv4 addresses corresponding to this host in the standard decimal
format (e.g. 198.51.100.1). At least one of ipv4_address and
ipv6_address must be set.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setIpv4Addresses
List of IPv4 addresses corresponding to this host in the standard decimal
format (e.g. 198.51.100.1). At least one of ipv4_address and
ipv6_address must be set.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIpv6Addresses
List of IPv6 addresses corresponding to this host in the standard
hexadecimal format (e.g. 2001:db8::). At least one of
ipv4_address and ipv6_address must be set.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setIpv6Addresses
List of IPv6 addresses corresponding to this host in the standard
hexadecimal format (e.g. 2001:db8::). At least one of
ipv4_address and ipv6_address must be set.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|