一般情况下,Ubuntu的dns默认就好。但只是一般情况,需要经过特定dns解析服务器来做特殊的的解析。通过如下命令编辑:
<pre class="brush:bash;"> vim /etc/resolv.conf
```
<p style="line-height: normal; ">
文件内容:</p>
<pre class="brush:plain;"> nameserver xxx.xxx.xxx.xx1
nameserver xxx.xxx.xxx.xx2
```
ubuntu dns 配置