resolver: Add support for CNAME

Also rework resolver's send format and convert test-tcp and nslookup to
use getaddrinfo
This commit is contained in:
2025-04-22 08:05:14 +03:00
parent f8e3ae0525
commit 33a0f562d3
5 changed files with 264 additions and 124 deletions

View File

@@ -6,4 +6,6 @@ add_executable(resolver ${SOURCES})
banan_link_library(resolver ban)
banan_link_library(resolver libc)
target_compile_options(resolver PRIVATE -Wno-maybe-uninitialized)
install(TARGETS resolver OPTIONAL)