LinuxCommandLibrary

dictd

TLDR

Start dictionary server

$ dictd
copy
Start with specific config
$ dictd -c [/etc/dictd/dictd.conf]
copy
Run in foreground
$ dictd --foreground
copy
Listen on specific port
$ dictd --port [2628]
copy
Limit connections
$ dictd --limit [10]
copy

SYNOPSIS

dictd [options]

DESCRIPTION

dictd is a dictionary server implementing the DICT protocol (RFC 2229). It serves dictionary databases to clients, enabling word lookups, definitions, and translations.
The server supports multiple dictionary formats and can serve several dictionaries simultaneously. Clients connect via TCP to query words across all configured databases.

PARAMETERS

-c file

Configuration file path.
--port port
TCP port (default 2628).
--listen address
Listen address.
--limit n
Maximum concurrent connections.
--foreground
Don't daemonize.
--log type
Logging type (syslog, stderr).
--pid file
PID file location.
-L, --license
Show license.
-V, --version
Show version.

CAVEATS

Requires dictionary database files. Port 2628 may need firewall rules. Large dictionaries use significant memory. Client needed for lookups.

HISTORY

dictd was developed as part of the DICT project in the late 1990s. The DICT protocol was designed to replace older dictionary protocols and enable internet dictionary services. The project provides both server and client implementations.

SEE ALSO

dict(1), dictfmt(1), dictzip(1)

Copied to clipboard