/sbin/ifquery is in ifupdown2 1.0~git20170314-1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/share/ifupdown2/ifupdown2
/usr/share/ifupdown2/ifupdown2