/sbin/ifquery is in ifupdown 0.7~beta2ubuntu8.
This file is owned by root:root, with mode 0o755.
It is a symlink to /sbin/./sbin/ifup
/sbin/./sbin/ifup