reflect

command
v0.0.0-...-dd3b304 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: BSD-2-Clause Imports: 13 Imported by: 0

Documentation

Overview

Reflect is a small name server which sends back the IP address of its client, the recursive resolver. When queried for type A (resp. AAAA), it sends back the IPv4 (resp. v6) address. In the additional section the port number and transport are shown.

Basic use pattern:

dig @localhost -p 8053 whoami.miek.nl A

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2157
;; flags: qr rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; QUESTION SECTION:
;whoami.miek.nl.			IN	A

;; ANSWER SECTION:
whoami.miek.nl.		0	IN	A	127.0.0.1

;; ADDITIONAL SECTION:
whoami.miek.nl.		0	IN	TXT	"Port: 56195 (udp)"

Similar services: whoami.ultradns.net, whoami.akamai.net. Also (but it is not their normal goal): rs.dns-oarc.net, porttest.dns-oarc.net, amiopen.openresolvers.org.

Original version is from: Stephane Bortzmeyer <stephane+grong@bortzmeyer.org>.

Adapted to Go (i.e. completely rewritten) by Miek Gieben <miek@miek.nl>.

Jump to

Keyboard shortcuts

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