echoClientSubnet

package module
v0.0.0-...-3c5a241 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2025 License: MIT Imports: 8 Imported by: 0

README

Echo Client Subnet

This is a CoreDNS plugin that responds to TXT queries with the EDNS Client Subnet's data.

Usage

edns.example.com {
	echoClientSubnet
}

Install plugin

Add echoClientSubnet:github.com/mtzfederico/coredns-echoClientSubnet to plugin.cfg and run make

Querying using Dig

dig +short txt edns.example.com +subnet=203.0.113.0/24

Output: "1203.0.113.0/24/0. Remote address: [::1]:51505"

Documentation

Overview

echoClientSubnet is a CoreDNS plugin that returns a query's EDNS Client Subnet information in a TXT record.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL