go-dns-info-server

command module
v0.0.0-...-40ef255 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

README

DNS Info Server

DNS server which responds to TXT requests with various info:

  • a counter
  • some random value
  • server's unix timestamp

The purpose of this server is primarily for integration testing of DNS clients -- specifically to ensure that caching is working as expected and/or that cache busting is working as expected.

The server is running at: dns-info.zxs.ch. Give it a try with e.g.:

dig +short TXT dns-info.zxs.ch

"time=1696792214"
"rand=8724171680981445161"
"counter=42"

Code mostly based off this gist.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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