Практическая передача любому из узлов

проверьте права доступа пользователя. пользователь (которые выполняют Конечную точку Создания, должен иметь доступ системного администратора). Это - проблема разрешения.

4
задан 13 April 2017 в 15:14
3 ответа

Amazon AWS Route53 - это надежный и недорогой глобальный балансировщик нагрузки, использующий anycast. Это, безусловно, самый простой маршрут.

Если вы хотите самостоятельно настроить Anycast DNS, вам нужно будет получить IP-адрес, а несколько центров обработки данных объявят этот IP-адрес в своих BGP. Обычно люди покупают диапазоны IP-адресов у соответствующих властей, однако я видел некоторые центры обработки данных, которые готовы сдавать в аренду IP-адреса людей и позволять им рекламировать их из других центров обработки данных.

Типичная настройка такова, что каждый сервер имеет свои собственные уникальные адреса. IP-адрес и произвольный адрес. Например:

Лондон имеет 1.1.1.1 и 3.3.3.3. NY has 1.1.1.2 and 3.3.3.3

A DNS server runs on each server listening on 3.3.3.3 and issues the unique IP for that server.

Remember that anycast is at the IP layer and thus below transport technologies such as TCP. As such, any transport that tracks state (e.g. TCP) is not suitable for anycast. DNS is (usually) UDP and is used as a method of distributing clients to their closest server to make a TCP connection.

4
ответ дан 3 December 2019 в 02:51

If you have only two servers, one in North America, and another in Europe, then you could decide to run both your TCP-socket app and your DNS yourself.

With DNS, you could use something like the Split-Horizon DNS approach, which could either be achieved through integrated functionality of your DNS server, or through a firewall that would redirect different IP-address ranges to different running instances of your server (you could run two different copies of the server on your local machine, which will listen at different local IP-addresses).

Having only one NA and one EU host, you could probably get expected results in ≈90% of cases by replying to DNS requests from RIPE and AfriNIC IP-addresses with an A record of your host in Europe, and requests from the IP-addresses from the /8 blocks administered by ARIN, APNIC, LACNIC and the rest of the /8 address space with an A record of your server in North America. This will have some wrong results in certain situations (some /8 blocks are shared between Europe and North America, some address space is anycast etc), but the worst that would happen is a little bit of extra latency to the affected party, so, it shouldn't be a big deal.

(And, yes, there should be a way to make these things easier, but, so far, it seems like there is none.)

0
ответ дан 3 December 2019 в 02:51

Вам необходимо использовать службу, которая будет основывать ответ DNS на их местоположении. Либо передано на аутсорсинг DNS-компании, либо создано самостоятельно. Я думаю, что вам действительно нужна технология Global Server Load Balancing (GSLB), а не AnyCast.

Большинство DNS-компаний предлагают это как услугу.

PowerDNS кажется популярным решением для DIY GSLB: http://www.powerdns.com/auth.html

4
ответ дан 3 December 2019 в 02:51

Теги

Похожие вопросы