修改本地dns配置-方便开发测试
linux
sudo vi /etc/resolv.conf
修改:
options timeout:1 attempts:1 rotate
nameserver 192.168.40.190
nameserver 192.168.40.253
Windows
依此打开: 控制面板\所有控制面板项\网络和共享中心 以太网 - 属性 internet协议版本4(tcp/ipv4)-属性
首选dns 192.168.40.190 备用dns 192.168.40.253