main.go aktualisiert

This commit is contained in:
2025-01-14 06:44:56 +00:00
parent a9a3331a0a
commit 6c30aa2274

View File

@@ -174,6 +174,7 @@ func handleDNSRequest(w dns.ResponseWriter, r *dns.Msg) {
}
case dns.TypePTR:
for a, b := range D {
fmt.Println(b.Ipv4, q.Name)
if b.Ipv4 == q.Name {
rr, err := dns.NewRR(q.Name + " PTR " + a)
if err == nil {