Infoblox::DHCP::DDNS - DHCP DDNS object.


NAME

Infoblox::DHCP::DDNS - DHCP DDNS object.


DESCRIPTION

The object is used to configure Multi-Grid Master preferences for updates from DHCP to Multi-Grid Master zones.


CONSTRUCTOR

 my $ddns = Infoblox::DHCP::DDNS->new(
    dns_ext_zone     => $string,           # required if zone_match is 'EXTERNAL'
    dns_grid_zone    => $string,           # required if zone_match is 'GRID'
    view             => $string,           # optional / The default value is the name of the default view
    external_primary => $ipaddr,           # required if zone_match is 'EXTERNAL' or 'ANY_EXTERNAL'
    grid_primary     => $string,           # required if zone_match is 'GRID' or 'ANY_GRID'
    zone_match       => 'ANY_EXTERNAL' | 'ANY_GRID' | 'EXTERNAL' | 'GRID',  # required
 );


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 a DHCP DDNS object.

dns_ext_zone( )

Use this method to set or retrieve a zone name, in FQDN (Fully Qualified Domain Name) format, that is contained in an external member.

Parameter

A zone name in FQDN 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 $value = $ddns->dns_ext_zone();
 # Modify the attribute value
 $ddns->dns_ext_zone('exmmdns.com');

dns_grid_zone( )

Use this method to set or retrieve a zone name, in FQDN (Fully Qualified Domain Name) format, that is contained in a Grid member.

Parameter

A zone name in FQDN 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 $value = $ddns->dns_grid_zone();
 # Modify the attribute value
 $ddns->dns_grid_zone('mmdns.com');

view( )

Use this method to set or retrieve the name of the DNS view in which the zone is located.

Parameter

The name of the DNS view in string format. The default value is the name of the default view.

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 $value = $ddns->view();
 # Modify the attribute value
 $ddns->view('dnsview');

external_primary( )

Use this method to set or retrieve the IP address of an external member.

Parameter

The IP address of an external member.

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 $value = $ddns->external_primary();
 # Modify the attribute value
 $ddns->external_primary('10.0.0.1');

grid_primary( )

Use this method to set or retrieve the name of the primary Grid member.

Parameter

The name of the primary Grid member.

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 $value = $ddns->grid_primary();
 # Modify the attribute value
 $ddns->grid_primary('grid.com');

zone_match( )

Use this method to set or retrieve the matching type.

Parameter

The valid value is 'ANY_EXTERNAL', 'ANY_GRID', 'EXTERNAL' or 'GRID'.

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 $value = $ddns->zone_match();
 # Modify the attribute value
 $ddns->zone_match('GRID');


AUTHOR

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


SEE ALSO

Infoblox::DHCP::View, Infoblox::Grid::Member::DHCP


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.