Infoblox::DNS::Member::SoaMname - a per-master SOA MNAME information.


NAME

Infoblox::DNS::Member::SoaMname - a per-master SOA MNAME information.


DESCRIPTION

The object contains a per-master SOA MNAME Information.


CONSTRUCTOR

 my $soa_mname = Infoblox::DNS::Member::SoaMname->new(
    grid_member => $string,       # Required if ms_server is not specified
    ms_server   => $string,       # Required if grid_member is not specified
    mname       => $string,       # Optional
 );

You cannot set both grid_member and ms_server attributes at the same time.


SESSION METHODS

The object doesn't support any session methods.


METHODS

This section describes all the methods that you can use to configure and retrieve the attribute values of the object.

dns_mname( )

Use this method to retrieve the master's SOA MNAME in punycode format. This is a read-only attribute.

Parameter

None

Returns

The method returns the attribute value.

Example
 # Get attribute value
 my $value = $soa_mname->dns_mname();

grid_member( )

Use this method to set or retrieve the primary server name for the zone.

Parameter

The primary server name in string format.

Returns

If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.

If you did not specify a parameter, the method returns the attribute value.

Example
 # Get the attribute value
 my $attr = $soa_mname->grid_member();
 # Modify the attribute value
 $soa_mname->grid_member('member.com');

mname( )

Use this method to set or retrieve the master's SOA MNAME.

Parameter

The master's SOA MNAME in string format.

Returns

If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.

If you did not specify a parameter, the method returns the attribute value.

Example
 # Get the attribute value
 my $attr = $soa_mname->mname();
 # Modify the attribute value
 $soa_mname->mname('dummy-mname.com');

ms_server( )

Use this method to set or retrieve the IPv4 address or FQDN of the Microsoft (r) Server for the zone.

Parameter

Valid value is an IPv4 address (32 bits) or FQDN of the Microsoft (r) Server.

Returns

If you specified a parameter, the method returns true when the modification succeeds, and returns false when the operation fails.

If you did not specify a parameter, the method returns the attribute value.

Example
 # Get the attribute value
 my $attr = $soa_mname->ms_server();
 # Modify the attribute value
 $soa_mname->ms_server('10.0.0.1');


AUTHOR

Infoblox Inc. http://www.infoblox.com/


SEE ALSO

Infoblox::DNS::Zone


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.