Reference documentation and code samples for the Cloud Domains V1beta1 API class Google::Cloud::Domains::V1beta1::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
defhost_name()->::String
Returns
(::String) — Required. Domain name of the host in Punycode format.
#host_name=
defhost_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
defipv4_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=
defipv4_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
defipv6_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=
defipv6_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.
[[["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-08-28 UTC."],[],[],null,["# Cloud Domains V1beta1 API - Class Google::Cloud::Domains::V1beta1::DnsSettings::GlueRecord (v0.12.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.12.0 (latest)](/ruby/docs/reference/google-cloud-domains-v1beta1/latest/Google-Cloud-Domains-V1beta1-DnsSettings-GlueRecord)\n- [0.11.1](/ruby/docs/reference/google-cloud-domains-v1beta1/0.11.1/Google-Cloud-Domains-V1beta1-DnsSettings-GlueRecord)\n- [0.10.0](/ruby/docs/reference/google-cloud-domains-v1beta1/0.10.0/Google-Cloud-Domains-V1beta1-DnsSettings-GlueRecord)\n- [0.9.1](/ruby/docs/reference/google-cloud-domains-v1beta1/0.9.1/Google-Cloud-Domains-V1beta1-DnsSettings-GlueRecord)\n- [0.8.2](/ruby/docs/reference/google-cloud-domains-v1beta1/0.8.2/Google-Cloud-Domains-V1beta1-DnsSettings-GlueRecord)\n- [0.7.0](/ruby/docs/reference/google-cloud-domains-v1beta1/0.7.0/Google-Cloud-Domains-V1beta1-DnsSettings-GlueRecord)\n- [0.6.0](/ruby/docs/reference/google-cloud-domains-v1beta1/0.6.0/Google-Cloud-Domains-V1beta1-DnsSettings-GlueRecord)\n- [0.5.0](/ruby/docs/reference/google-cloud-domains-v1beta1/0.5.0/Google-Cloud-Domains-V1beta1-DnsSettings-GlueRecord)\n- [0.4.0](/ruby/docs/reference/google-cloud-domains-v1beta1/0.4.0/Google-Cloud-Domains-V1beta1-DnsSettings-GlueRecord)\n- [0.3.2](/ruby/docs/reference/google-cloud-domains-v1beta1/0.3.2/Google-Cloud-Domains-V1beta1-DnsSettings-GlueRecord) \nReference documentation and code samples for the Cloud Domains V1beta1 API class Google::Cloud::Domains::V1beta1::DnsSettings::GlueRecord.\n\nDefines a host on your domain that is a DNS name server for your domain\nand/or other domains. Glue records are a way of making the IP address of a\nname server known, even when it serves DNS queries for its parent domain.\nFor example, when `ns.example.com` is a name server for `example.com`, the\nhost `ns.example.com` must have a glue record to break the circular DNS\nreference. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #host_name\n\n def host_name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. Domain name of the host in Punycode format.\n\n### #host_name=\n\n def host_name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. Domain name of the host in Punycode format. \n**Returns**\n\n- (::String) --- Required. Domain name of the host in Punycode format.\n\n### #ipv4_addresses\n\n def ipv4_addresses() -\u003e ::Array\u003c::String\u003e\n\n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- 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.\n\n### #ipv4_addresses=\n\n def ipv4_addresses=(value) -\u003e ::Array\u003c::String\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c::String\\\u003e) --- 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. \n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- 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.\n\n### #ipv6_addresses\n\n def ipv6_addresses() -\u003e ::Array\u003c::String\u003e\n\n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- 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.\n\n### #ipv6_addresses=\n\n def ipv6_addresses=(value) -\u003e ::Array\u003c::String\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c::String\\\u003e) --- 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. \n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- 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."]]