Tagged articles
2 articles
Page 1 of 1
FunTester
FunTester
Feb 24, 2022 · Backend Development

How to Add Load Balancing to a Custom Go DNS Resolver

This guide shows how to modify a Go custom DNS resolver to perform simple load balancing by predefining IP addresses and randomly selecting one for each new connection, including full code examples and test output.

BackendCustom ResolverDNS
0 likes · 5 min read
How to Add Load Balancing to a Custom Go DNS Resolver
FunTester
FunTester
Jan 24, 2022 · Backend Development

Custom Java DNS Resolver with Apache HttpClient: InMemoryDnsResolver and SystemDefaultDnsResolver

This article demonstrates how to implement custom DNS resolvers in Java using Apache HttpClient's InMemoryDnsResolver and SystemDefaultDnsResolver classes, provides sample code for each, shows integration with a connection pool manager, and includes a simple test to verify hostname resolution.

Apache HttpClientConnection PoolCustom Resolver
0 likes · 7 min read
Custom Java DNS Resolver with Apache HttpClient: InMemoryDnsResolver and SystemDefaultDnsResolver