- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,898 for typeA (0.83 sec)
-
test/fixedbugs/issue51291.dir/a.go
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package a type TypeA string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 18 00:45:20 UTC 2022 - 213 bytes - Viewed (0) -
src/net/dnsclient_unix_test.go
ID: q.ID, Response: true, }, Questions: q.Questions, } if len(q.Questions) == 1 && q.Questions[0].Type == dnsmessage.TypeA { r.Answers = []dnsmessage.Resource{ { Header: dnsmessage.ResourceHeader{ Name: q.Questions[0].Name, Type: dnsmessage.TypeA, Class: dnsmessage.ClassINET, Length: 4, }, Body: &dnsmessage.AResource{ A: TestAddr, },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 72.4K bytes - Viewed (0) -
pilot/pkg/model/network_test.go
} else { domain := msg.Question[0].Name c, ok := s.hosts[domain] if ok { s.hosts[domain]++ switch r.Question[0].Qtype { case dns.TypeA: msg.Answer = append(msg.Answer, &dns.A{ Hdr: dns.RR_Header{Name: domain, Rrtype: dns.TypeA, Class: dns.ClassINET, Ttl: s.ttl}, A: net.ParseIP(fmt.Sprintf("10.0.0.%d", c)), }) case dns.TypeAAAA: // set a long TTL for AAAA
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 16 01:18:03 UTC 2023 - 6.9K bytes - Viewed (0) -
pkg/dns/client/dns_test.go
host: "details.ns2.", expectResolutionFailure: dns.RcodeNameError, // on home machines, the ISP may resolve to some generic webpage. So this test may fail on laptops }, { name: "success: TypeA query returns A records only", host: "dual.localhost.", expected: a("dual.localhost.", []netip.Addr{netip.MustParseAddr("2.2.2.2")}), }, { name: "success: wild card returns A record correctly",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 29 16:17:34 UTC 2024 - 20.4K bytes - Viewed (0) -
src/net/resolverdialfunc_test.go
HandleAAAA func(w AAAAWriter, name string) error HandleSRV func(w SRVWriter, name string) error } type ResponseWriter struct{ a *resolverFuncConn } func (w ResponseWriter) header() dnsmessage.ResourceHeader { q := w.a.q return dnsmessage.ResourceHeader{ Name: q.Name, Type: q.Type, Class: q.Class, TTL: w.a.ttl, } } // SetTTL sets the TTL for subsequent written resources.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.3K bytes - Viewed (0) -
src/net/dnsclient_unix.go
case '4': qtypes = []dnsmessage.Type{dnsmessage.TypeA} case '6': qtypes = []dnsmessage.Type{dnsmessage.TypeAAAA} } var queryFn func(fqdn string, qtype dnsmessage.Type) var responseFn func(fqdn string, qtype dnsmessage.Type) result if conf.singleRequest { queryFn = func(fqdn string, qtype dnsmessage.Type) {} responseFn = func(fqdn string, qtype dnsmessage.Type) result { dnsWaitGroup.Add(1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:23:45 UTC 2024 - 24.5K bytes - Viewed (0) -
pkg/dns/client/dns.go
address := make([]dns.RR, 0) mx := make([]dns.RR, 0) rest := make([]dns.RR, 0) for _, r := range in { switch r.Header().Rrtype { case dns.TypeCNAME: cname = append(cname, r) case dns.TypeA, dns.TypeAAAA: address = append(address, r) case dns.TypeMX: mx = append(mx, r) default: rest = append(rest, r) } } roundRobinShuffle(address) roundRobinShuffle(mx)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 29 16:17:34 UTC 2024 - 23.9K bytes - Viewed (0) -
src/vendor/golang.org/x/net/dns/dnsmessage/message.go
) // Message formats // A Type is a type of DNS request and response. type Type uint16 const ( // ResourceHeader.Type and Question.Type TypeA Type = 1 TypeNS Type = 2 TypeCNAME Type = 5 TypeSOA Type = 6 TypePTR Type = 12 TypeMX Type = 15 TypeTXT Type = 16 TypeAAAA Type = 28 TypeSRV Type = 33 TypeOPT Type = 41 // Question.Type TypeWKS Type = 11
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 00:09:40 UTC 2024 - 69K bytes - Viewed (0) -
pilot/pkg/model/network.go
return } for _, rr := range res.Answer { switch record := rr.(type) { case *dns.A: out = append(out, record.A.String()) case *dns.AAAA: out = append(out, record.AAAA.String()) } } if nextTTL := minimalTTL(res); nextTTL < ttl { ttl = nextTTL } } wg.Add(2) go doResolve(dns.TypeA) go doResolve(dns.TypeAAAA) wg.Wait() sort.Strings(out)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 24 03:31:28 UTC 2023 - 16.9K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux_test.go
// and success cases. func TestCrossDeviceMountPaths(t *testing.T) { successCase := `/dev/0 /path/to/0/1 type0 flags 0 0 /dev/1 /path/to/1 type1 flags 1 1 /dev/2 /path/to/1/2 type2 flags,1,2=3 2 2 /dev/3 /path/to/1.1 type3 flags,1,2=3 3 3 ` var err error dir := t.TempDir() mountsPath := filepath.Join(dir, "mounts")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 7.3K bytes - Viewed (0)