備註:須要【domain site】! dom
root:/etc # vi resolv.conf ide
1 ### /etc/resolv.conf file autogenerated by netconfig!
2 #
3 # Before you change this file manually, consider to define the
4 # static DNS configuration using the following variables in the
5 # /etc/sysconfig/network/config file:
6 # NETCONFIG_DNS_STATIC_SEARCHLIST
7 # NETCONFIG_DNS_STATIC_SERVERS
8 # NETCONFIG_DNS_FORWARDER
9 # or disable DNS configuration updates via netconfig by setting:
10 # NETCONFIG_DNS_POLICY=''
11 #
12 # See also the netconfig(8) manual page and other documentation.
13 #
14 # Note: Manual change of this file disables netconfig too, but
15 # may get lost when this file contains comments or empty lines
16 # only, the netconfig settings are same with settings in this
17 # file and in case of a "netconfig update -f" call.
18 #
19 ### Please remove (at least) this line when you modify the file!
20 domain site
21 nameserver 202.96.134.133 this