mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-01 13:37:48 +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:
parent
aac09b8a8f
commit
6e236a4a72
4 changed files with 29 additions and 8 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
@ -2814,6 +2814,7 @@ name = "uu_hostname"
|
|||
version = "0.0.27"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"dns-lookup",
|
||||
"hostname",
|
||||
"uucore",
|
||||
"windows-sys 0.48.0",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue