Infoblox::Grid::MSServer::DCNSRecordCreation - An Infoblox Active Directory Domain Controller object


NAME

Infoblox::Grid::MSServer::DCNSRecordCreation - An Infoblox Active Directory Domain Controller object


DESCRIPTION

The Active Directory Domain Controller object represents the Active Directory Domain Controller which is allowed for NS Record creation in a DNS Zone.


CONSTRUCTOR

 my $dcncrecordcreation = Infoblox::Grid::MSServer::DCNSRecordCreation->new(
     address => $ipv4addr | $ipv6addr, #Required
     comment => $string,               #Optional / Default is undefined
 );


SESSION METHODS

The object does not support any session methods. It is retrieved as a part of the DNS Zone object. It also can be retrieved as a result of Infoblox::Session->get_ms_dc_ns_record_creation_list() function.


MODULE METHODS

The following functions can be applied to a AD Domain Controller object.

Infoblox::DNS::Zone->ms_dc_ns_record_creation( )

Use this method to set or retrieve the list of Active Directory Domain Controllers which are allowed to create NS Record for the DNS Zone. See Infoblox::DNS::Zone->ms_dc_ns_record_creation() for parameters and return values.

Example
 #Get ms_dc_ns_record_creation
 my $ms_dc_ns_record_creation = $zone->ms_dc_ns_record_creation();
 #Modify ms_dc_ns_record_creation
 $zone->ms_dc_ns_record_creation([$msdcns1, $msdcns1]);


METHODS

this section describes all the methods that you can use to set or retrieve the attribute values of the object.

address( )

Use this method to set or retrieve the address of a Domain Controller.

Parameter

The valid value is a desired IPv4 or IPv6 address in a 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 address value
 my $address = $object->address();
 #Set address value
 $object->address('10.0.0.1');

comment( )

Use this method to set or retrieve the descriptive comment.

Parameter

The valid value is a desired comment in a 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 comment value
 my $address = $object->comment();
 #Set comment value
 $object->comment('desired-comment');


AUTHOR

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


SEE ALSO

Infoblox::DNS::Zone->ms_dc_ns_record_creation(), Infoblox::Session->get_ms_dc_ns_record_creation_list()


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.