github.com/cilium/cilium@v1.16.2/pkg/hubble/metrics/dns/rcode.go (about) 1 // SPDX-License-Identifier: Apache-2.0 2 // Copyright Authors of Hubble 3 4 package dns 5 6 var rcodeNames = map[uint32]string{ 7 0: "No Error", 8 1: "Format Error", 9 2: "Server Failure", 10 3: "Non-Existent Domain", 11 4: "Not Implemented", 12 5: "Query Refused", 13 6: "Name Exists when it should not", 14 7: "RR Set Exists when it should not", 15 8: "RR Set that should exist does not", 16 9: "Not Authorized", 17 10: "Name not contained in zone", 18 11: "DSO-TYPE Not Implemented", 19 16: "Bad OPT Version", 20 17: "Key not recognized", 21 18: "Signature out of time window", 22 19: "Bad TKEY Mode", 23 20: "Duplicate key name", 24 21: "Algorithm not supported", 25 22: "Bad Truncation", 26 23: "Bad/missing Server Cookie", 27 }