Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 273 for dns2 (0.02 sec)

  1. internal/config/identity/ldap/ldap.go

    		return nil, nil
    	}
    	return validDN, err
    }
    
    // GetValidatedUserDN validates the given user DN. Will error out if conn is nil. The returned
    // boolean is true iff the user DN is found under one of the LDAP user base DNs.
    func (l *Config) GetValidatedUserDN(conn *ldap.Conn, userDN string) (*xldap.DNSearchResult, bool, error) {
    	return l.GetValidatedDNUnderBaseDN(conn, userDN,
    		l.LDAP.GetUserDNSearchBaseDistNames(), l.LDAP.GetUserDNAttributesList())
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jul 12 01:04:53 UTC 2024
    - 12.4K bytes
    - Viewed (1)
  2. src/main/java/jcifs/NameServiceClient.java

        /**
         * Determines the address of a host given it's host name. The name can be a NetBIOS name like
         * "freto" or an IP address like "192.168.1.15". It cannot be a DNS name;
         * the analygous {@link jcifs.netbios.UniAddress} or {@link java.net.InetAddress}
         * <code>getByName</code> methods can be used for that.
         *
         * @param host
         *            hostname to resolve
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt

              listOf(InetAddress.getByName(socketHost))
            } else {
              call.eventListener.dnsStart(call, socketHost)
    
              val result = address.dns.lookup(socketHost)
              if (result.isEmpty()) {
                throw UnknownHostException("${address.dns} returned no addresses for $socketHost")
              }
    
              call.eventListener.dnsEnd(call, socketHost, result)
              result
            }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Oct 08 03:50:05 UTC 2025
    - 7.3K bytes
    - Viewed (2)
  4. internal/config/etcd/help.go

    			Description: `namespace prefix to isolate tenants` + defaultHelpPostfix(PathPrefix),
    			Optional:    true,
    			Type:        "path",
    		},
    		config.HelpKV{
    			Key:         CoreDNSPath,
    			Description: `shared bucket DNS records` + defaultHelpPostfix(CoreDNSPath),
    			Optional:    true,
    			Type:        "path",
    		},
    		config.HelpKV{
    			Key:         ClientCert,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 27 03:11:37 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticatorTest.kt

      private var authenticator = JavaNetAuthenticator()
      private val fakeDns = FakeDns()
      private val recordingAuthenticator = RecordingAuthenticator()
      private val factory =
        TestValueFactory()
          .apply {
            dns = fakeDns
          }
    
      @BeforeEach
      fun setup() {
        Authenticator.setDefault(recordingAuthenticator)
      }
    
      @AfterEach
      fun tearDown() {
        Authenticator.setDefault(null)
        factory.close()
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import java.net.InetAddress
    import java.net.UnknownHostException
    import okio.Buffer
    
    class FakeDns : Dns {
      private val hostAddresses: MutableMap<String, List<InetAddress>> = mutableMapOf()
      private val requestedHosts: MutableList<String> = mutableListOf()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/context/BaseContextTest.java

            DfsResolver dfs1 = context.getDfs();
            DfsResolver dfs2 = context.getDfs();
            BufferCache cache1 = context.getBufferCache();
            BufferCache cache2 = context.getBufferCache();
    
            // Then - should be same instances
            assertSame(config1, config2, "Configuration should be consistent");
            assertSame(dfs1, dfs2, "DFS resolver should be consistent");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

    package okhttp3.dnsoverhttps
    
    import java.io.EOFException
    import java.net.InetAddress
    import java.net.UnknownHostException
    import okio.Buffer
    import okio.ByteString
    import okio.utf8Size
    
    /**
     * Trivial Dns Encoder/Decoder, basically ripped from Netty full implementation.
     */
    internal object DnsRecordCodec {
      private const val SERVFAIL = 2
      private const val NXDOMAIN = 3
      const val TYPE_A = 0x0001
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

          clientTestRule
            .newClientBuilder()
            .eventListenerFactory(clientTestRule.wrap(eventRecorder))
            .connectTimeout(60, TimeUnit.SECONDS) // Deliberately exacerbate slow fallbacks.
            .dns { dnsResults }
            .fastFallback(true)
            .build()
        url =
          serverIpv4
            .url("/")
            .newBuilder()
            .host("localhost")
            .build()
      }
    
      @AfterEach
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

          .assertHeader("", "ef")
      }
    
      @Test
      fun customDns() {
        // Configure a DNS that returns our local MockWebServer for android.com.
        val dns = FakeDns()
        dns["android.com"] = Dns.SYSTEM.lookup(server.url("/").host)
        client =
          client
            .newBuilder()
            .dns(dns)
            .build()
        server.enqueue(MockResponse())
        val request =
          Request(
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 147.4K bytes
    - Viewed (0)
Back to top