libc/inet/resolv.c: add __hnbad to check DNS entries for validity…
commit0f822af0445e5348ce7b7bd8ce1204244f31d174
authormirabilos <m@mirbsd.org>
Mon, 9 Aug 2021 01:37:31 +0000 (9 03:37 +0200)
committermirabilos <mirabilos@evolvis.org>
Mon, 9 Aug 2021 01:37:31 +0000 (9 03:37 +0200)
treeabbb010323e6bdebd24c772ae65f756664123178
parente966cf302aa3b7fc0748d5cdb510d2757bbff4a5
libc/inet/resolv.c: add __hnbad to check DNS entries for validity…

… using the same rules glibc does

also call __hnbad in some places to check answers
libc/inet/resolv.c