--- bind-9.18.21/configure.ac.~2~ Wed Jan 24 14:54:35 2024 +++ bind-9.18.21/configure.ac Wed Jan 24 16:16:14 2024 @@ -1025,6 +1025,7 @@ # # Check for if_nametoindex() for IPv6 scoped addresses support # +AC_SEARCH_LIBS([if_nametoindex], [socket]) AC_CHECK_FUNCS([if_nametoindex]) ISC_ATOMIC_LIBS=""