what_is_geoscaling_dns2 2015/01/24 21:38 |
what_is_geoscaling_dns2 2015/01/30 00:32 current |
| === Basic Features === | | === Basic Features === |
| | | |
- | === Advanced Features === | + | * Redundancy and scalability assured by nameservers in [[Geographical locations of GeoScaling DNS2 servers|three countries and two continents]]. |
| + | * Easy to use web interface |
| + | * Add and edit DNS records without reloading the page |
| + | * Changes propagate instantly to our nameservers |
| + | * Low time-to-live (TTL) ensures updated records are propagated on the Internet in less than 5 minutes |
| + | * Support for most types of records, including SRV |
| | | |
- | Apart from the usual features you get from other similar services, the advanced version of GeoScaling DNS2 also has some unique features: | + | === Advanced Features === |
| | | |
- | * You can redirect your users to different IP addresses based on their: | + | * [[Dynamic DNS API|Dynamic DNS support]] |
- | * country of origin | + | * [[Importing records from BIND files|Upload, paste and import BIND zone files]] |
- | * network names - AS (Autonomous System) numbers | + | * Import records by doing a zone transfer (AXFR) |
- | * server uptimes | + | * **Redirect visitors** dynamically based on |
- | * server loads or other information you send us via our XML-RPC API. | + | * Their **country** of origin |
- | * These special redirections are achieved through scripts that run each time your visitor requests an IP address of a smart subdomain. A smart subdomain has a script attached to it. So you can extend GeoScaling in ways we haven't even imagined yet. | + | * Their **network name** (Autonomous System Number / AS / ASN) |
- | * You can import records from BIND files | + | * The **uptime** of your servers |
- | * You can edit records very quickly without refreshing the page for each modification, as GeoScaling uses some ajax magic | + | * Custom information such as **server loads** sent to GeoScaling via our simple API |
| + | * **[[Smart Subdomains|Any combination of the above]]** |
| + | * Make live redirection decisions for each visitor with our [[Smart Subdomains|smart subdomains]] powered by a subset of the PHP scripting language |
| | | |
| | | |
| if($country=="ro") | | if($country=="ro") |
| { | | { |
- | if( in_array( $as, array("as30890", "as24745") ) ) | + | if( sizeof( array_intersect ( $as, array("as30890", "as24745") ) ) ) |
| { | | { |
| $output[] = array("A", "86.55.16.126"); // fisierulmeu.ro - evolva ilink | | $output[] = array("A", "86.55.16.126"); // fisierulmeu.ro - evolva ilink |
| } | | } |
- | else if( in_array( $as, array("as34304", "as8708") ) ) | + | else if( sizeof( array_intersect ( $as, array("as34304", "as8708") ) ) ) |
| { | | { |
| $output[] = array("A", "193.138.195.114"); // teen telecom | | $output[] = array("A", "193.138.195.114"); // teen telecom |
| </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. |