dnssecsocket

package module
v0.0.0-...-080acc8 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: GPL-3.0 Imports: 12 Imported by: 1

README

Intro

Attempt at some code to validate via DNS / DNSSEC the hostname is valid on a simple socket listen server

This recursively runs from the root TLD's and purposesly bypasses any DNS cache so that the DNS <-> IP address mappings can be verified

References

Documentation

Index

Constants

View Source
const MAX = 100
View Source
const MIN = 1

Variables

Functions

func Dnstrace

func Dnstrace(hostname string, qtypestr string) []dns.RR

func GetRemoteAddr

func GetRemoteAddr(conn net.TCPConn) string

func HandleConnection

func HandleConnection(conn *net.TCPConn)

Handle each connection Each client must send it's hostname as the first line Then each hostname is verified with DNSSEC

func Parse

func Parse(b bool)

func ResolveIPv6hostname

func ResolveIPv6hostname(hostname string) *net.TCPAddr

func UseJournalctl

func UseJournalctl()

Types

type Args

type Args struct {
	VerboseDnssec bool   `arg:"--verbose-dnssec" help:"debug dnssec lookups"`
	Foo           string `arg:"env:USER"`
}

Directories

Path Synopsis
Command server is a test server for the Autobahn WebSockets Test Suite.
Command server is a test server for the Autobahn WebSockets Test Suite.

Jump to

Keyboard shortcuts

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