Skip to content

Instantly share code, notes, and snippets.

@NinoM4ster
NinoM4ster / main.go
Created November 11, 2022 03:54
Golang DNS server with multiple A/SRV records
package main
import (
"fmt"
"log"
"github.com/miekg/dns"
)
// adapted from https://gist.github.com/walm/0d67b4fb2d5daf3edd4fad3e13b162cb