[英]Check if a domain is available via Route 53 without logging in?
One way of checking if a domain is available through AWS Route 53 is to login, and type the desired domain into the 'Register domain' field:通过 AWS Route 53 检查域是否可用的一种方法是登录,然后在“注册域”字段中键入所需的域:
Since this information is the same for all users, it seems login wouldn't be necessary to see the availability of domains;由于此信息对所有用户都是相同的,因此似乎无需登录即可查看域的可用性; is there any way to view a domain's (un)availability through Route 53 without first logging into one's AWS account?有什么方法可以通过 Route 53 查看域的(不)可用性而无需先登录到一个人的 AWS 帐户? (through CLI or browser) (通过 CLI 或浏览器)
It may seem an odd question since it's not overly time consuming to sign in and authenticate via authenticator app or another 2nd factor etc, but since that takes a minute and a public search form would only take a few seconds, I thought I'd ask.这似乎是一个奇怪的问题,因为通过身份验证器应用程序或其他第二因素等登录和身份验证并不过分耗时,但由于这需要一分钟,而公共搜索表单只需要几秒钟,我想我会问.
One could search on (any) other domain name registrar, however, 3 conditions would have to be met:可以搜索(任何)其他域名注册商,但是,必须满足 3 个条件:
Any API calls to Amazon Route 53 must be authenticated with AWS credentials .任何对 Amazon Route 53 的 API 调用都必须使用 AWS 凭据进行身份验证。
For example, when calling check_domain_availability()
via Python and boto3, or using the AWS CLI to call aws route53domains check-domain-availability
, the API request must be signed by a valid set of AWS credentials that have permission to make this API call.例如,当通过 Python 和 boto3 调用check_domain_availability()
,或使用 AWS CLI 调用aws route53domains check-domain-availability
时,API 请求必须由一组有效的 AWS 凭证签名,这些凭证有权进行此 API 调用。
While the AWS management requires a 'login', using the AWS CLI or an AWS SDK does not involve a 'login'.虽然 AWS 管理需要“登录”,但使用 AWS CLI 或 AWS SDK 不涉及“登录”。 However, they do need to be given a set of AWS credentials for the API call to succeed.但是,他们确实需要为 API 调用提供一组 AWS 凭证才能成功。
aws route53domains check-domain-availability --domain-name somedomainname.com --region us-east-1
# UNAVAILABLE
aws route53domains check-domain-availability --domain-name lksjdfhblsdjfljsdfknskdf.com --region us-east-1
# AVAILABLE
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.