Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ipAnswers (0.23 sec)

  1. pkg/dns/client/dns.go

    	}
    
    	switch qtype {
    	case dns.TypeA:
    		ipAnswers = table.name4[hostname]
    	case dns.TypeAAAA:
    		ipAnswers = table.name6[hostname]
    	default:
    		// TODO: handle PTR records for reverse dns lookups
    		return nil, false
    	}
    
    	if len(ipAnswers) > 0 {
    		// For wildcard hosts, set the host that is being queried for.
    		if wildcard {
    			for _, answer := range ipAnswers {
    				copied := dns.Copy(answer)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 29 16:17:34 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top