func QR(d dns.DNS) { fmt.Printf("QR: ") if d.GetQR() { fmt.Println("1 Response") } else { fmt.Println("0 Query") } }