« links for 2007-04-11 | Main | links for 2007-04-12 »


Solaris 5.8 中域名解析的问题

用过 Linux 都知道,添加 DNS 服务器是在 /etc/resolv.conf 文件中,格式类似如下的样子:

nameserver 208.67.222.222
nameserver 208.67.220.220

BTW:这个两个 DNS 服务器是 OpenDNS (website: http://www.opendns.com)的,建议大家使用。

平时,我们只要添加了DNS服务器就可以正常解析域名了。但是 Solaris 中却不是这样,也不知道是安装时的问题还是本来就是这样,正常添加了DNS服务器,却还是不能解析域名,除非在 /etc/hosts 中添加了要解析的域名。

原因呢,就是在 /etc/nsswitch.conf 这个文件中,有那么两行:

hosts: files

...
networks: files

指明了解析域名时,用的是文件,而不用 DNS,所以只需要在这两行后面分别再添加一个 dns,变成如下这样就行了

hosts: files dns
...
networks: files dns

在 Solaris 5.8 中添加了 DNS 后,却不能解析 www.sunfreeware.com 之后的记录


Comments

Good day puneet, If you are using all in just one seo then never ever mind it is equally useful as yoast seo, although the main difference i felt over some time is it also suggest you about the foremost differentiating factor like keyword density, heading and title tag, meta description and the inbound links and outbound links. Over some time you'll be habitual of these seo tricks, unless until you should consider care of many of the deciding factor yourself.

i like to create a facebook email account but i don,t know to creation method. pls simply about me

I think the photo is photo shop because from the sky.

wow.. thanks for the tips. it's really helpful. squidoo is effective and simple, you can exploide it.

Post a comment