Relevance to become machines applicable

Hello All,
I am trying to write relevance for getting the machine applicable only if when they’re connected to virtual network adaptor with IP range and with following dns server ips.

Please help me with the relevance.

Thank You.

Hi, you may want to use
registration subnet address of client
https://developer.bigfix.com/relevance/reference/client.html

Beware that the information can be not present on the client in some cases:

1 Like

If you want to limit it to virtual machines, I’d use the following but do note that inspector has some limitations on different OS and was only released from v9.5 (https://developer.bigfix.com/relevance/search/?query=virtual)
virtual of hardware

If you just want to check if a machine has IP address in certain range but this is not “virtual” only.
exists (addresses of adapters of networks) whose (it >= ipv4 address "x.x.x.0" and it <= ipv4 address "x.x.x.255")

If you want to search fod DNS server within in adapter configurations, you can use this:
exists dns servers whose (exists addresses whose (it >= ipv4 address "x.x.x.x") of it) of network