一个域名是否可以有多个对应的IP地址? [英] Is it possible that one domain name has multiple corresponding IP addresses?

查看:154
本文介绍了一个域名是否可以有多个对应的IP地址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

例如,当我们连接到www.abc.com时,我们首先尝试连接到1.1.1.1。如果先尝试失败,那么我们尝试2.2.2.2。可能吗?我们可以为一个域名注册多个备份IP地址吗?

解决方案

这是循环DNS。这是一个非常简单的负载平衡解决方案。通常,DNS服务器会轮询/随机播放每个传入的DNS请求的DNS记录。不幸的是,它不是解决故障的真正解决方案。如果其中一台服务器出现故障,某些访问者仍将被引导到此失败的服务器。


For example, when we connect to www.abc.com, at first we try to connect to 1.1.1.1. And if first try fails, then we try 2.2.2.2. Is it possible? Can we register multiple backup IP addresses for one domain name?

解决方案

This is round robin DNS. This is a quite simple solution for load balancing. Usually DNS servers rotate/shuffle the DNS records for each incoming DNS request. Unfortunately it's not a real solution for fail-over. If one of the servers fail, some visitors will still be directed to this failed server.

这篇关于一个域名是否可以有多个对应的IP地址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆