Ronny Haryanto wrote:
>
> Agus Budy Wuysang wrote:
> > Pada dasarnya betul... tapi masih ada yang perlu anda
> > pertimbangkan:
> >
> > /etc/host.conf
> >
> > yang melist apakah dns server dahulu yang diquery
> > ataukah /etc/hosts
>
> [~]$ cat /etc/host.conf
> order hosts,bind
> multi on
> [~]$ cat /etc/hosts
> 198.163.232.252 wpg-03.escape.ca terminal
> 127.0.0.1 localhost fluke
> [~]$ cat /etc/resolv.conf
> search cc.umanitoba.ca
> nameserver 130.179.16.67
> [~]$ host terminal
> Host not found.
>
> Manurut mas Agus, kira-kira salahnya di mana ya? (dulu sudah pernah
> ditanyakan, sorry kalo berulang2)
>
> PS. ketiga file tsb world readable
Lho host command kan khusus untuk lookup host using domain
name server. Coba check man 1 host.
Kalau cuman mau lihat apakah /etc/hosts di consult dulu
oleh gethostby* libc functions, coba saja:
# ping terminal
mesti jalan.
--
+---| Netscape Communicator 4.x |---| Powered by Linux 2.0.x |---+
|/v\ Agus Budy Wuysang MIS Department |
| | Phone: +62-21-344-1316 ext 317 GSM: +62-816-91-7066 |
+--------| http://www.rad.net.id/users/personal/s/supes |--------+
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT dx s: a- C+++ UL++++$ P- L+++(++++) E--- W++ N+++ o? K? w-- O-
M- V-- PS+ PE Y-- PGP t+@ 5 X+ R- tv- b+ DI? D++(+) G e++ h* r+ y++
------END GEEK CODE BLOCK------
----------------------------------------------------------------------
Unsubscribe: [EMAIL PROTECTED]
Archive: http://www.vlsm.org/linux-archive/
Linux CD: [EMAIL PROTECTED]