1nnsd(n)                      Name service facility                     nnsd(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       nnsd - Name service facility, Commandline Server Application
9

SYNOPSIS

11       nnsd ?-localonly flag? ?-port port?
12
13______________________________________________________________________________
14

DESCRIPTION

16       Please read Name service facility, introduction first.
17
18       The  application  described  by this document, nns, is a simple command
19       line server for the nano name service facility provided by  the  Tcllib
20       packages nameserv, and nameserv::server.  Beyond that the application's
21       sources also serve as an example of how to use the server package name‐
22       serv::server.
23
24       This name service facility has nothing to do with the Internet's Domain
25       Name System, otherwise known as DNS. If the reader  is  looking  for  a
26       package  dealing  with  that  please see either of the packages dns and
27       resolv, both found in Tcllib too.
28
29   USE CASES
30       nnsd was written with the following main use case in mind.
31
32       [1]    Run a nano name service on some host.
33
34   COMMAND LINE
35       nnsd ?-localonly flag? ?-port port?
36              The command configures a server per the  specified  options  and
37              starts it. The command will not exit on its own, as it keeps the
38              name service database wholly in memory. The user has to kill  it
39              explicitly,  either  by  sending a a signal, or through the job-
40              control facilities of the shell in use.
41
42              The options to configure the name service are explained in  sec‐
43              tion OPTIONS.
44
45   OPTIONS
46       This  section  describes  all  the options available to the user of the
47       application
48
49       -localonly bool
50              If this option is  not  specified  it  defaults  to  true,  i.e.
51              acceptance  of  only  local  connections. The server will accept
52              remote connections, i.e. connections from other  hosts,  if  and
53              only if this option is configured to false.
54
55       -port number
56              If  this option is not specified it defaults to 38573. It speci‐
57              fies the TCP port the server has to listen on for requests.
58

BUGS, IDEAS, FEEDBACK

60       This document, and the package it describes, will  undoubtedly  contain
61       bugs  and  other problems.  Please report such in the category nameserv
62       of the Tcllib Trackers [http://core.tcl.tk/tcllib/reportlist].   Please
63       also  report any ideas for enhancements you may have for either package
64       and/or documentation.
65
66       When proposing code changes, please provide unified diffs, i.e the out‐
67       put of diff -u.
68
69       Note  further  that  attachments  are  strongly  preferred over inlined
70       patches. Attachments can be made by going  to  the  Edit  form  of  the
71       ticket  immediately  after  its  creation, and then using the left-most
72       button in the secondary navigation bar.
73

SEE ALSO

75       nameserv::common(n), nameserv::server(n)
76

KEYWORDS

78       application, name service, server
79

CATEGORY

81       Networking
82
84       Copyright (c) 2007-2008 Andreas Kupries <andreas_kupries@users.sourceforge.net>
85
86
87
88
89tcllib                               1.0.1                             nnsd(n)
Impressum