Query: domain
OS: sunos
Section: 8
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DOMAIN(8) InterNetNews Documentation DOMAIN(8)NAMEdomain - nnrpd domain resolverSYNOPSISdomain domainnameDESCRIPTIONThis program can be used in readers.conf to grant access based on the subdomain part of the remote hostname. In particular, it only returns success if the remote hostname ends in domainname. (A leading dot on domainname is optional; even without it, the argument must match on dot-separated boundaries). The "username" returned is whatever initial part of the remote hostname remains after domainname is removed. It is an error if there is no initial part (that is, if the remote hostname is exactly the specified domainname).EXAMPLEThe following readers.conf(5) fragment grants access to hosts with internal domain names: auth internal { res: "domain .internal" default-domain: "example.com" } access internal { users: "*@example.com" newsgroups: example.* } Access is granted to the example.* groups for all connections from hosts that resolve to hostnames ending in ".internal"; a connection from "foo.internal" would match access groups as "foo@example.com".BUGSIt seems the code does not confirm that the matching part is actually at the end of the remote hostname (e.g., "domain: example.com" would match the remote host "foo.example.com.org" by ignoring the trailing ".org" part). Does this resolver actually provide any useful functionality not available by using wildcards in the readers.conf(5) hosts parameter? If so, the example above should reflect this functionality.HISTORYThis documentation was written by Jeffrey M. Vinocur <jeff@litech.org>. $Id: domain.pod 8200 2008-11-30 13:31:30Z iulius $SEE ALSOnnrpd(8), readers.conf(5) INN 2.5.3 2009-05-21 DOMAIN(8)
Related Man Pages |
---|
domain(8) - suse |
netgroup(4) - osf1 |
domainname(1m) - sunos |
domain(8) - redhat |
domain(8) - sunos |
Similar Topics in the Unix Linux Community |
---|
How to replace using SED? |
Bind Problem |
how to grep a subdomain |
Perl : how to match non-empty string that has no spaces |
Good acl for remote depot software |