1

I am quite new to the networking world! I was tweaking with some networking concepts and I found that we can use DNS for load-balancing by having multiple records in a DNS name server.

So I ran a nslookup for google.com and I got only one record. However, when I ran the same command for stackoverflow.com I got multiple records. I was wondering why this is happening? have I done something wrong?!

N-Alpr
  • 113
  • 1
  • 6
  • 5
    You have not done something wrong; there's just more than one way to load balance. – ceejayoz Jul 20 '19 at 15:31
  • google IP varies depending on where are nslookup send from. Compare your google IP with this one bash.ws/nslookup/google.com – vadim_hr Apr 07 '21 at 08:49

1 Answers1

3

its a completely Extensive subject .

sometimes you cannot watch this through checking by nslookup.

if the domain dns zone hosted by third party like cloudflare and cloudns that will not expose the ip of nodes. then it cannot declared with nslookup . and possibly the ip you watch in this way is only the ip of dns server not the ip of load balancing servers.

by the way using the dns records for load balancing is using same records value with different ip address . then traffic will distributed among different servers with same configuration .

NetProf
  • 111
  • 2