Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

ph (cso nameserver) Frequently Asked Questions (FAQ)
Section - 1.5 Can I run multiple databases on different ports?

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Forum archive ]


Top Document: ph (cso nameserver) Frequently Asked Questions (FAQ)
Previous Document: 1.4 How do I enable phquery for fuzzy mail addressing?
Next Document: 1.6 How can I register my CSO server?
See reader questions & answers on this topic! - Help others by sharing your knowledge
Yes.  You can use one binary (copy of the software).  On a Unix system,
make multiple entries in /etc/services and /etc/inetd.conf, and use the
-DATABASE option with each entry in /etc/inetd.conf to specify the desired
database for that port. 

Here are some sample entries from /etc/services and /etc/inetd.conf

/etc/services:
ns              105/tcp         # CCSO nameserver
ns-clio         106/tcp
ns-eha          107/tcp

/etc/inetd.conf:
ns              stream  tcp     nowait  root    /usr/local/etc/qi qi
ns-clio         stream  tcp     nowait  root    /usr/local/etc/qi qi \
 -DATABASE=/usr/users/nameserv/db/clio
ns-eha          stream  tcp     nowait  root    /usr/local/etc/qi qi \
 -DATABASE=/usr/users/nameserv/db/eha

        (ns-clio and ns-eha are each one line, no breaks.)

(Samples contributed by Steve Madsen  <smadsen@cs.muohio.edu>)

User Contributions:

Comment about this article, ask questions, or add new information about this topic:




Top Document: ph (cso nameserver) Frequently Asked Questions (FAQ)
Previous Document: 1.4 How do I enable phquery for fuzzy mail addressing?
Next Document: 1.6 How can I register my CSO server?

Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
noel@camelcity.com (PH FAQ Coordinators)





Last Update March 27 2014 @ 02:12 PM