Management::Zone

Introduced : BIG-IP_v9.0
The Zone interface enables the user to perform “zone” operations on a dns database This interface does not support transactions.

Methods

Method Description Introduced
add_zone_file Adds the Zones in the specified views, using the file names specified as the contents of the zone files. Files must be local to target machine. BIG-IP_v9.0
add_zone_option Adds new options to the specified zones. BIG-IP_v9.0
add_zone_text Adds the Zones in the specified views, using the texts specified as the contents of the zone files. BIG-IP_v9.0
delete_zone Deletes the specified Zones in the specified views. BIG-IP_v9.0
delete_zone_option Deletes existing options of the specified zones BIG-IP_v9.0
get_version Gets the version information for this interface. BIG-IP_v9.0
get_zone This method has been deprecated due to an inconsistency in the format of the options_seq field. Please use get_zone_v2. Gets the ZoneInfo structs for the specified zones in the specified views. BIG-IP_v9.0
get_zone_name Gets the list of zone names for the specified views. BIG-IP_v9.0
get_zone_v2 Gets the ZoneInfo structs for the specified zones in the specified views. BIG-IP_v12.0.0
set_zone_option Sets existing options for the specified zones to new values. If a given option exists for the specified zone, it is set to the new value. If a given option was not previously specified for the specified zone, it is added. Any previously specified options for the specified zone that are not included in the list of options are not modified or deleted. The delete_zone_option method must be used to remove options from a zone. Option strings should be of the form: &aposoption_name option_value;&apos Example: &aposmax-refresh-time 600;&apos Options which can include multiple values should be of the form: &aposoption_name { value1; value2; …};&apos Example: &aposmasters { 127.0.0.4 port 53 key key_id1; 10.10.10.10 port 53 key key_id2;};&apos Multiple option strings should be comma separated: &aposoption1_name option1_value;&apos, &aposoption2_name option2_value;&apos, … Example: &aposmax-refresh-time 600;&apos, &aposmax-journal-size 65536;&apos BIG-IP_v9.0
transfer_zone Transfers the Zones from the specified remote named servers, creating them on the local zrd server, using the specified views and zone info (type, file name, etc ) BIG-IP_v9.0
zone_exist Tests whether the specified zone exists BIG-IP_v9.0

Structures

Structure Description

Enumerations

Enumeration Description

Exceptions

Exception Description

Constants

Constant Type Value Description

Aliases

Alias Type Description

See Also

Warning

The links to the sample code below are remnants of the old DevCentral wiki and will result in a 404 error. For best results, please copy the link text and search the codeshare directly on DevCentral.

Sample Code


The BIG-IP API Reference documentation contains community-contributed content. F5 does not monitor or control community code contributions. We make no guarantees or warranties regarding the available code, and it may contain errors, defects, bugs, inaccuracies, or security vulnerabilities. Your access to and use of any code available in the BIG-IP API reference guides is solely at your own risk.