[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 域名解析配置文件总是被修改是怎么回事?



感谢回复!
我用的静态IP,请问修改dhch会有效吗?]

$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
    address 192.168.1.136
    netmask 255.255.255.0
    network 192.168.1.0
    broadcast 192.168.1.255
    gateway 192.168.1.1


2009/1/30 darren <darren.hoo@gmail.com>
修改 /etc/dhcp3/dhclient.conf

加入下面这行:
prepend domain-name-servers 208.67.222.222,208.67.220.220;

上两个dns server 是 opendns 换成你的可用的dns

2009/1/30 Arthur Wong <wzc0066@gmail.com>:
> 大家好,我的系统是debian lenny。
> 这几天系统的域名解析配置文件总是被篡改成如下:
>
> $ cat /etc/resolv.conf
> ### BEGIN INFO
> #
> # Modified_by:  NetworkManager
> # Process:      /usr/bin/NetworkManager
> # Process_id:   15956
> #
> ### END INFO
>
> 导致我的网络总是断掉,请问这是怎么回事,是被人入侵了还是系统软件所为(有是一天被更改了两次,更改前并没有软件包更新操作)?
>
>


Reply to: