Sunday, January 29, 2012

Problem cannot ping hostname but can ping ip

Setting /etc/rc.conf
ifconfig_dco="DHCP"
hostname="fw.company.com"
defaultrouter="192.168.1.1"

Setting /etc/resolv.conf
search carolina.rr.com
nameserver 24.25.5.60
naemserver 24.25.5.61

Setting /etc/hosts
::1 localhost.company.com localhost
127.0.0.1 localhost.company.com localhost

Tapi tak leh ping jugak... pelik2.. Sifoo solution... Idupkan deamon
Caranya.. tambahkan kat /etc/rc.conf
named_enable="YES"
Pastu... idupkan dengan # /etc/rc.d/named start

Dan tiba2 ia idup... hoyeee... five star for sifu zaman..


No comments:

Post a Comment