class Google::Apis::DomainsV1beta1::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.
Attributes
Required. Domain name of the host in Punycode format. Corresponds to the JSON property `hostName` @return [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. Corresponds to the JSON property `ipv4Addresses` @return [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. Corresponds to the JSON property `ipv6Addresses` @return [Array<String>]
Public Class Methods
# File lib/google/apis/domains_v1beta1/classes.rb, line 582 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/domains_v1beta1/classes.rb, line 587 def update!(**args) @host_name = args[:host_name] if args.key?(:host_name) @ipv4_addresses = args[:ipv4_addresses] if args.key?(:ipv4_addresses) @ipv6_addresses = args[:ipv6_addresses] if args.key?(:ipv6_addresses) end