Files
coredns/plugin/nsid
Yong Tang 5bafa6d97f Update docs with missing ~ (#1276)
Looks like the last commit missed a `~` in the docs.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2017-12-04 16:49:04 +00:00
..
2017-12-04 16:49:04 +00:00

nsid

nsid add an identifier of this server to each reply.

This plugin implements RFC 5001 and adds an EDNS0 OPT resource record to replies that uniquely identifies the server. This can be useful in anycast setups to see which server was responsible for generating the reply and for debugging.

Syntax

nsid [DATA]

DATA is the string to use in the nsid record.

If DATA is not given, the host's name is used.

Examples

Enable nsid:

. {
    nsid
}