The dnsSelectionFilter filter matches DNS records by ID, site ID, or site alias ID. It is used in get_rec, del_rec, del_master_server, get_master_server operations. Data type: dnsSelectionFilterType (
dns_input.xsd). The graphical representation of the filter node is as follows:
- The site-id node is optional. It specifies the site ID in Plesk database. Data type: integer.
- The id node is optional. It specifies the DNS record ID in Plesk database. Data type: integer.
- The site-alias-id node is optional. It specifies the site alias ID in Plesk database. For information on site aliases, refer to the Supported Operations: Managing Site Aliases section. Data type: integer.
You can also match multiple sites, site aliases, DNS records using this filter. The combination of two filtering rules in one filter node can look as follows:
<filter> <id>1</id> <id>2</id> <id>3</id> </filter>
Note: You can use either id, site-id, or site-alias-id when using this filter. The packet that contains a combination of these parameters in a single filter node will be considered invalid by Plesk server.
Leave your feedback on this topic here
If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.