# Example HostsAllow file

#
# hosts.allow	This file describes the names of the hosts which are
#		allowed to use the local INET services, as decided
#		by the '/usr/sbin/tcpd' server.
#


# allow anything from these two domains, or
# between 123.45.66.0 and 123.45.67.255
fishd:		.riscos.com .acorn.co.uk 123.45.66.0/255.255.254.0

# allow everything inside .demon.net except www.demon.net
wibbled:	.demon.net EXCEPT www.demon.net

# allow everyone
fred:		ALL

# this is a more complicated example of alias handling (all this relates to the
# DNS current at 27/07/01) - try looking up some of these machines using 'host'
# to get a clearer idea of what's going on

# hermes is an alias for 4 machines (red,orange,green,yellow).csi.cam.ac.uk
# thor is a subdomain (gloves,hammer,belt).thor.cam.ac.uk, for which
#   thor.cam.ac.uk is the same machine as hammer.thor.cam.ac.uk
# cus is a subdomain (draco,libra,virgo).cus.cam.ac.uk
# www-stu is a CNAME for door.acad.cai.cam.ac.uk
# .acad.cai.cam.ac.uk is a subdomain with lots of machines in it

# rfc931 is not currently supported under RISC OS, but the first line would
# not get their identds queried, while the second line would

testd:		red.csi.cam.ac.uk .thor.cam.ac.uk .cus.cam.ac.uk hermes.cam.ac.uk
testd:		www-stu.cai.cam.ac.uk localhost .acad.cai.cam.ac.uk	: rfc931


# End of hosts.allow
