Search⌘ K
AI Features

DNS

Explore how DNS functions as a basic yet effective service discovery method in stable infrastructure environments. Understand the concept of logical service names and how DNS round-robin load balancing distributes traffic among servers, along with its challenges and implications for system stability and performance.

Service discovery with DNS

Let’s start with the basics and look at DNS. For small teams this is likely to be our best choice, particularly in a slowly changing infrastructure. That would include dedicated physical machines and dedicated, long-lived virtual machines. In these environments, IP addresses will remain stable enough for DNS to be useful.

Service discovery usually implies some kind of automated query and response, but not in this case. When we use DNS to call another service, discovery is more Sherlock Holmes than Siri. Our team needs to find the service owners and pry the DNS name or names out of them. An exchange of favors may be required, maybe a six-pack ...