domain8
Nnrpd domain resolver
Usage
domain domain-name
Overview
This 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 domain-name. (A leading dot on domain-name 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 domain-name is removed. It is an error if there is no initial part (that is, if the remote hostname is exactly the specified domain-name).
Examples
The 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 "[email protected]" identity.
Releases
12 releases since Debian 3.1 (Sarge); the text changed 11 times.