是否可以在 Windows 主机文件 (C:\Windows\System32\drivers\etc\hosts) 中输入某种 CNAME 记录或别名?
基本上我想将所有对主机 A 的请求转发到主机 B,而不必对 IP 地址(经常更改)进行硬编码。
windows hosts alias cname-record
alias ×1
cname-record ×1
hosts ×1
windows ×1