具有包含带重音符号的域名的主要缺点是什么? [英] What are the major drawbacks of having a domain that contains characters with accents?

查看:108
本文介绍了具有包含带重音符号的域名的主要缺点是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑获取一个包含重音字符(包含á)的域.但是,我注意到只有一些公司提供它们.这些域名是否存在一般性问题,或者使用这些域名时会有某些不利之处吗?

I am considering getting a domain that contains an accented character (it contains an á). However, I noticed that only some companies offer them. Is there a general problem with those domains or will I have certain disadvantages when using one?

推荐答案

DNS协议仅支持ASCII.使用 Punycode 将其中带有重音字符的域编码为ASCII.这意味着您的域éxàmplê.com实际上是xn--xmpl-0na6cm.com.

The DNS protocol only supports ASCII. Domains with accented characters in them are encoded to ASCII using Punycode. That means that your domain éxàmplê.com is actually xn--xmpl-0na6cm.com.

可以肯定地说,有很多不支持国际化域名的软件(IDN).您需要在您的环境中进行测试并确定域名中富字符集的优点是否值得解决.

It is a virtual certainty that there is lots of software out there that doesn't support internationalized domain names (IDN). It's up to you to test in your environment and decide whether the advantages of a rich character set in your domain name is worth the trouble.

这里只是几件事要检查,就在我的头上.

Here are just a few things to check, just off the top of my head.

  • 您的网络浏览器是否支持IDN? (可能是这样).
  • 您网站访问者使用的所有网络浏览器都支持吗?
  • 您的电子邮件服务器软件是否支持它们?
  • 您的邮件用户代理是否支持它们(即,当您配置电子邮件地址为myself@éxàmplê.com的电子邮件帐户时,它是否可以工作?)
  • 您所有电子邮件通讯员使用的邮件服务器和邮件用户代理软件是否支持IDN?
  • 您的SSH客户端是否接受IDN(ssh myserver.éxàmplê.com)?
  • 您的syslog服务器是否支持它们?您的数据库客户端?您的负载均衡器(如果您使用名称,而不是IP地址)?
  • 它们在/etc/hosts中工作吗?
  • 您的DHCP客户端和服务器可以处理DNS域中的重音字符吗?
  • 等...
  • 更多
  • Does your web browser support IDNs? (probably it does).
  • Do all the web browsers used by your web site's visitors support them?
  • Does your email server software support them?
  • Does your mail user agent support them (i.e. does it work when you configure an email account with email address myself@éxàmplê.com)?
  • Do the mail servers and mail user agent software used by all your email correspondents support IDNs?
  • Does your SSH client accept IDNs (ssh myserver.éxàmplê.com)?
  • Does your syslog server support them? Your database client? Your load balancer (if you use names, not IP addresses)?
  • Do they work in /etc/hosts?
  • Can your DHCP clients and servers handle accented characters in the DNS domain?
  • etc...
  • so many more!

对很多这样的答案可能是否定的.在那种情况下,您始终可以使用域的原始punycoded形式配置有问题的特定软件,但是您真的要在配置文件中写入xn--xmpl-0na6cm.com并在服务器日志中查看该字符串吗?

The answer to lots of those is probably no. In that case you can always configure the particular software in question with the raw punycoded form of the domain, but do you really want to write xn--xmpl-0na6cm.com in config files and look at that string in server logs?

这篇关于具有包含带重音符号的域名的主要缺点是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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