0

So, I know that DNS is important in the running of CDN services. DNS allows the routing client traffic to the physically nearest CDN server. Question is, how can I do the same thing without any DNS involved? Note the edge servers are in different geographical locations.

  • 3
    It is called anycast. – Ron Maupin Apr 18 at 5:17
  • Your servers in same place or different physical locations? – infra Apr 18 at 7:31
  • 1
    This may be an XY problem. Why on earth would you NOT use the DNS for this? You should give more details on what you are trying to do exactly. As is this question is unclear. – JFL Apr 18 at 8:14
2

Using one public IP over multiple locations are called Anycast and it is not related to DNS. DNS just translates FQDN to IP address.

If you assign same IP to different locations, your ISP will route the clients to the closer location. Is your application okay with this?

The most basic use case for anycast routing is hosting DNS servers. When you send DNS query to 8.8.8.8, you will get response from closest data center.

DNS involvement is not required for anycast. You should agree with your ISP if they allow this, what is their path selection criteria etc. If you have eBGP neighborship with your ISP from two locations, you can easily advertise same subnets. This is the common use case for geo-redundancy.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.