github.com/cilium/cilium@v1.16.2/pkg/fqdn/lookup.go (about) 1 // SPDX-License-Identifier: Apache-2.0 2 // Copyright Authors of Cilium 3 4 package fqdn 5 6 import ( 7 "net" 8 ) 9 10 // DNSIPRecords mimics the RR data from an A or AAAA response. 11 // My kingdom for a DNS IP RR type that isn't hidden in the stdlib or has a 12 // million layers of type indirection. 13 type DNSIPRecords struct { 14 // TTL is the time, in seconds, that these IPs are valid for 15 TTL int 16 17 // IPs are the IPs associated with a DNS Name 18 IPs []net.IP 19 }