This shows you the differences between the selected revision and the current version of the page.
| what_is_geoscaling_dns2 2009/02/16 05:59 | what_is_geoscaling_dns2 2009/02/20 14:42 current | ||
|---|---|---|---|
| Line 59: | Line 59: | ||
| </code> | </code> | ||
| - | The above code redirects the user only based on country and AS numbers. If an user comes from Romania and is in certain networks, he/she gets one set of IP addresses, otherwise another. If the user is an international visitor, he/she gets the address of the international mirror in France. This effectively lets you build a Content Delivery Network in a few lines of code, where each user can be redirected to the best/closest mirror. The above code actually runs on a limited version of PHP. | + | The above code redirects the user only based on country and AS numbers. If a user comes from Romania and is in certain networks, he/she gets one set of IP addresses, otherwise another. If the user is an international visitor, he/she gets the address of the international mirror in France. This effectively lets you build a Content Delivery Network in a few lines of code, where each user can be redirected to the best/closest mirror. The above code actually runs on a limited version of PHP. |
| The advanced features of DNS2 are geared towards medium and large websites. | The advanced features of DNS2 are geared towards medium and large websites. | ||