dig 查看域名解析 最下面server为DNS解析地址dig google.comsudo -s 转为root方式curl ip.gs 获取本机外网的ip地理地址开启ipv4转发功能/etc/sysctl.confnet.ipv4.ip_forward=1sysctl -p 使配置立刻生效