Linux Powershell Core“;不能';t解析主机名“;

Linux Powershell Core“;不能';t解析主机名“;,linux,powershell,powershell-v6.0,Linux,Powershell,Powershell V6.0,我正在Arch Linux上使用Powershell 6b5 AppImage(使用官方AppIimage)。在powershell之外使用IPv4和IPv6网络(URL和IP)没有问题。但是,在PS中,当我调用以下命令时: iwr'http://google.com“ 我明白了 iwr:无法解析主机名 当我执行以下操作时,会出现相同的错误(IPv4地址是google.com的地址之一) iwr'http://172.217.26.238“ 使用IPv6地址,我得到一个404,这意味着连接工作正

我正在Arch Linux上使用Powershell 6b5 AppImage(使用官方AppIimage)。在powershell之外使用IPv4和IPv6网络(URL和IP)没有问题。但是,在PS中,当我调用以下命令时:

iwr'http://google.com“

我明白了

iwr:无法解析主机名

当我执行以下操作时,会出现相同的错误(IPv4地址是google.com的地址之一)

iwr'http://172.217.26.238“

使用IPv6地址,我得到一个404,这意味着连接工作正常:

iwr'http://[2404:6800:4009:808::200e]'

有人对如何解决这个问题有什么建议吗