Also, using the ".com" after the localhost.localdomain can, in some
instances, cause problems.

Since the ".com"domain extension exists outside the "localhost", and
"localhost" is a domain in the outside world owned by "Wraith Interprises".
Beacuse you probably don't belong to Wraith Interprises, it's a better idea
not to add the ".com" to any "localhost" usage.

--Greg

----- Original Message -----
From: "Holly Henry-Pilkington" <[EMAIL PROTECTED]>
> For local hosts (i.e. hosts in your /etc/hosts file that are known to your
> linux box by a name), you can simply put in the host name. For example:
>
> ALL: servername
>
> If you have several hosts on your network, it is usually easier to use the
> IP netmask to specify all of them at once.
>
> The server.domain.com or simply domain.com nomenclature would be for hosts
> OUTSIDE your own local network or localdomain. And again, it will only
> work for host names that can be resolved via either DNS or an entry in
> your hosts file.
>
> Personally, I find I use IP addresses more than anything else, but this
> is just easiest for me I guess since I have very few hosts I allow at
> all. :)
>
> HTH,
> Holly
>
> On Mon, 11 Sep 2000, Myers, Dennis R NWO wrote:
>
> > I've seen this nomenclature in other places, like samba man etc, does it
> > really mean to put the  .com at the end. Should I be putting as an
example
> > localhost.localdomain.com or can I leave the .com off? This confuses me
for
> > some reason.   Dennis
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]] On Behalf Of Holly
Henry-Pilkington
> > Sent: Monday, September 11, 2000 8:21 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [newbie] host.allow
> >
> > The format of hosts in hosts.allow or hosts.deny is:
> >
> > SERVICE: host name
> >
> > e.g:
> >
> > TELNET: mydomain.com
> > FTP: 123.456.789.012 yourdomain.com
> > ALL: 111.111.111.
> > ALL: ALL
> >
> > The first is specifying by domain name which has to be resolvable via
DNS
> > or present in your /etc/hosts file to work. The second is an example of
> > specifying by IP address as well as how to enter multiple hosts for a
> > given service.
> >
> > The third is an example of a subnet mask. For example, if you wanted to
> > give all of your local network machines access to all services, you
would
> > put in the first three parts of the IP addresses (the parts that all of
> > your internal machines have in common) and end with a dot. Then all
> > machines on that subnet will have access.
> >
> > The final example (what I use in hosts.deny) is the wildcard ALL. You
can
> > use this for services you want fully open like HTTP or FTP for certain
> > servers.
> >
> > For more info, type:
> >
> > man hosts.allow
> >
> > at your command line.
> >
> > HTH.
> >
> > Holly
> >
> >
> > On Mon, 11 Sep 2000, Manuel Tuthill wrote:
> >
> > > Does anyone know the format of how to a a host to host.allow if so
could
> > > they let me know!
> > >
> > >
> > > Warmest regards,
> > >
> > > Manuel Tuthill
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>

 
______________________________________________________________________________
Vous avez un site perso ?
2 millions de francs à gagner sur i(france) !
Webmasters : ZE CONCOURS ! http://www.ifrance.com/_reloc/concours.emailif



Reply via email to