1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 20:17:45 +00:00

hostname: use dns-lookup crate to get the network address(es) of the host

- on OpenBSD and FreeBSD, unable to get the network address(es) of the host with DNS request for
  hostname + ":1"
- use dns-lookup crate for this request with lookup_host function

Signed-off-by: Laurent Cheylus <foxy@free.fr>
This commit is contained in:
Laurent Cheylus 2024-07-07 19:54:02 +02:00 committed by Sylvestre Ledru
parent aac09b8a8f
commit 6e236a4a72
4 changed files with 29 additions and 8 deletions

View file

@ -283,6 +283,7 @@ compare = "0.1.0"
coz = { version = "0.1.3" }
crossterm = ">=0.27.0"
ctrlc = { version = "3.4.4", features = ["termination"] }
dns-lookup = { version = "2.0.4" }
exacl = "0.12.0"
file_diff = "1.0.0"
filetime = "0.2.23"