|
|
If a user is not going to use a network card, he still needs to come up with a FQDN. This is necessary for programs like Sendmail to operate correctly (in fact; Sendmail won't run when it can't determine the FQDN).
我用sendmail发信时,对方要比较我的fqdn解析后是否与我的IP一样。
但是我是用VPN上网,用pptp连接后才给分配一个像h209253.resnet.cuhk.edu.hk这样的FQDN,我把我的connect文件放在/etc/initd.d/下。
我想问怎样查看自己的FQDN,如何才能把每次分配的FQDN写入/etc/hosts阿?
谢谢! |
|