# Cloud Domains V1 API - Class Google::Cloud::Domains::V1::DnsSettings::GlueRecord (v1.4.1)

1.4.1 (latest) 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.9.0 0.8.0 0.7.1 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Domains V1 API class Google::Cloud::Domains::V1::DnsSettings::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.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #host_name

    def host_name() -> ::String

**Returns**

- (::String) --- Required. Domain name of the host in Punycode format.

### #host_name=

    def host_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Domain name of the host in Punycode format.
**Returns**

- (::String) --- Required. Domain name of the host in Punycode format.

### #ipv4_addresses

    def ipv4_addresses() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- 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.

### #ipv4_addresses=

    def ipv4_addresses=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- 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**

- (::Array\<::String\>) --- 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.

### #ipv6_addresses

    def ipv6_addresses() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- 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.

### #ipv6_addresses=

    def ipv6_addresses=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- 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**

- (::Array\<::String\>) --- 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.