/usr/sparc64-linux-gnu/lib/libnss_dns.so is in libc6-dev-sparc64-cross 2.23-0ubuntu3cross1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/sparc64-linux-gnu/lib/libnss_dns.so.2
/usr/sparc64-linux-gnu/lib/libnss_dns.so.2