- 论坛徽章:
- 0
|
发现系统无法解析域名,查看 /etc/resolv.conf 内容:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf( 8 )
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
手动修改/etc/resolv.conf
search
nameserver 202.96.209.5
nameserver 202.96.209.133
重新启动网络:~# /etc/init.d/networking restart 出现以下信息,该错误在系统启动时也会出现
Reconfiguring network interfaces...addr=192.168.1.103, name=
Updating databases ...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/databases...
Updating Makefile ...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/Makefile...
Updating sendmail.cf ...
*** ERROR: FEATURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`always_add_domain')*** ERROR: FEA
TURE() should be before MAILER()
*** MAILER(`local') must appear after FEATURE(`allmasquerade')*** ERROR: FEATURE
() should be before MAILER()
Updating auth ...
sasl2-bin not installed, not configuring sendmail support.
To enable sendmail SASL2 support at a later date, invoke "/usr/share/sendmail/up
date_auth"
Creating /etc/mail/relay-domains
# Optional file...
The following file(s) have changed:
/etc/mail/sendmail.cf
** ** You should issue `/etc/init.d/sendmail reload` ** **
Reloading Mail Transport Agent configuration: sendmail.
done.
重新启动网络之后,用sendmail发送邮件也正常,但系统重启之后, /etc/resolv.conf 内容又会变为:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf( 8 )
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
请问大侠,这个问题应该如何解决,谢谢
[ 本帖最后由 offar 于 2007-8-26 13:34 编辑 ] |
|