[NTLUG:Discuss] can I use *.domaon.com in /etc/hosts?

m m llliiilll at hotmail.com
Mon Dec 2 14:18:32 CST 2002


Quoting m m <llliiilll at hotmail.com>:

>Hi All:
>
>I do think that we can use *.domaon.com in /etc/hosts, right?
>what is the way too define/assign multiple host name in /etc/hosts except 
>use DNS or NIS.
>
>thanks

If I understand the question, you can do this:

192.168.1.9 nighthawk.dyndns.org nightscape.shadowland.net nightscape

and similar things.  This is what I've done for my web/mail/database server
that sits behind the firewall.

yes. that is my question. what about if you have 1000 host/domain name?
again, do not use DNS or other application, use /etc/hosts files only.

what I want to know is if we can use * in /etc/hosts file?








Ed

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/




_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online 
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963





More information about the Discuss mailing list