Infoblox::Grid::DNS::ClientSubnetDomain - a DNS client subnet domain object.


NAME

Infoblox::Grid::DNS::ClientSubnetDomain - a DNS client subnet domain object.


DESCRIPTION

The DNS client subnet domain represent the zone domain name that is allowed or forbidden for the EDNS client subnet (ECS) recursion.


CONSTRUCTOR

 my $object = Infoblox::Grid::DNS::ClientSubnetDomain->new(
     'domain'     => $fqdn,            # Required
     'permission' => 'ALLOW' | 'DENY', # Optional / Default is 'ALLOW'
 );


SESSION METHODS

The object does not support any session methods.


MODULE METHODS

The following functions can be applied to a DNS client subnet domain object.

Infoblox::Grid::DNS->client_subnet_domains( )

Use this method to set or retrieve the list of zone domain names that are allowed or forbidden for EDNS client subnet (ECS) recursion.

Example
 #Get client_subnet_domains value
 my $value = $grid_dns->client_subnet_domains();
 #Construct Infoblox::Grid::DNS::ClientSubnetDomain object
 my $object = Infoblox::Grid::ClientSubnetDomain->new(
     domain     => 'domain.com',
     permission => 'DENY',
 );
 #Modify client_subnet_domains value
 $grid_dns->client_subnet_domains([$object]);


METHODS

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

domain( )

Use this method to set or retrieve the client subnet zone domain name.

Parameter

The valid value is a Fully-Qualified Domain Name (FQDN) that represents the desired zone domain name.

Returns

The method returns the attribute value.

Example
 #Get domain value
 my $value = $object->domain();
 #Modify domain value
 $object->domain('test-domain.com');

permission( )

Use this method to set or retrieve the client subnet domain ECS permission.

Parameter

The valid values are 'ALLOW' and 'DENY'. The default value is 'ALLOW'.

Returns

The method returns the attribute value.

Example
 #Get permission value
 my $value = $object->permission();
 #Modify permission value
 $object->permission('DENY');


AUTHOR

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


SEE ALSO

Infoblox::Grid::DNS, Infoblox::Grid::DNS->client_subnet_domains(),


COPYRIGHT

Copyright (c) 2017 Infoblox Inc.