| 1 |
.\" Generated by Mmark Markdown Processor - mmark.miek.nl |
| 2 |
.TH "ID" 7 "August 2026" "atomdns handlers" "atomdns authors" |
| 3 |
|
| 4 |
.SH "NAME" |
| 5 |
.PP |
| 6 |
\fIid\fP \- add request ID to the context |
| 7 |
|
| 8 |
.SH "DESCRIPTION" |
| 9 |
.PP |
| 10 |
\fIid\fP adds a random request ID to the context. Other handlers such as \fIlog\fP use it in the logging if present. |
| 11 |
|
| 12 |
.SH "SYNTAX" |
| 13 |
.PP |
| 14 |
.RS |
| 15 |
|
| 16 |
.nf |
| 17 |
id |
| 18 |
|
| 19 |
.fi |
| 20 |
.RE |
| 21 |
|
| 22 |
.SH "EXAMPLES" |
| 23 |
.PP |
| 24 |
.RS |
| 25 |
|
| 26 |
.nf |
| 27 |
example.org { |
| 28 |
id |
| 29 |
any |
| 30 |
whoami |
| 31 |
} |
| 32 |
|
| 33 |
.fi |
| 34 |
.RE |
| 35 |
|
| 36 |
.SH "CONTEXT" |
| 37 |
.PP |
| 38 |
The \fIid\fP handler adds a single key to the context: |
| 39 |
|
| 40 |
.RS |
| 41 |
.TS |
| 42 |
allbox; |
| 43 |
l l l l |
| 44 |
l l l l |
| 45 |
. |
| 46 |
\fBKey\fP\fB Type\fP\fB Example\fP\fB Description\fP |
| 47 |
\fB\fCid/id\fR \fB\fCstring\fR 5FOXMDAG6YAHD6R7QOZ4UTX7VQ The ID. |
| 48 |
.TE |
| 49 |
.RE |
| 50 |
|
| 51 |
|
| 52 |
.PP |
| 53 |
When atomdns\-log(7) handler is used the ID is automatically logged as \fB\fCid.id=..\fR. |