Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetQuestion (0.24 sec)

  1. pkg/dns/client/dns_test.go

    				continue
    			}
    			t.Run(clients[i].Net+"-"+tt.name, func(t *testing.T) {
    				m := new(dns.Msg)
    				q := dns.TypeA
    				if tt.queryAAAA {
    					q = dns.TypeAAAA
    				}
    				m.SetQuestion(tt.host, q)
    				if tt.modifyReq != nil {
    					tt.modifyReq(m)
    				}
    				if tt.id != 0 {
    					currentID.Store(int32(tt.id))
    					defer func() { currentID.Store(0) }()
    				}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 16:17:34 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. pilot/pkg/model/network.go

    	var out []string
    	errs := istiomultierror.New()
    
    	var mu sync.Mutex
    	var wg sync.WaitGroup
    	doResolve := func(dnsType uint16) {
    		defer wg.Done()
    
    		res := n.client.Query(new(dns.Msg).SetQuestion(dns.Fqdn(name), dnsType))
    
    		mu.Lock()
    		defer mu.Unlock()
    		if res.Rcode == dns.RcodeServerFailure {
    			errs = multierror.Append(errs, fmt.Errorf("upstream dns failure, qtype: %v", dnsType))
    			return
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 16.9K bytes
    - Viewed (0)
Back to top