Google云端平台-虚名服务器 [英] Google Cloud Platform - Vanity Nameservers

查看:143
本文介绍了Google云端平台-虚名服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将DNS迁移到Google Cloud Platform,并希望设置虚荣域名服务器.

I'm in the process of moving my DNS to Google Cloud Platform and wish to set up vanity nameservers.

这难道是可能的吗?

我的项目中目前有两个域

I have two domains currently in my project

abc-net.co.uk(虚荣) abc.co.uk(公司域)

abc-net.co.uk (vanity) abc.co.uk (company domain)

我已经设置了4条记录

ns1.abc-net.co.uk A -> 216.239.32.109 (ns-cloud-d1.googledomains.com)
ns2.abc-net.co.uk A -> 216.239.34.109 (ns-cloud-d2.googledomains.com)
ns3.abc-net.co.uk A -> 216.239.36.109 (ns-cloud-d3.googledomains.com)
ns4.abc-net.co.uk A -> 216.239.38.109 (ns-cloud-d4.googledomains.com)

我已经为abc.co.uk编译了项目中的所有记录,但是当我对@ ns1.abc-net.co.uk进行挖掘时,它告诉我不允许递归

I have compiled all records in my project for abc.co.uk but when I run a dig against @ns1.abc-net.co.uk it tells me recursion is not allowed

我不能设置个性化域名服务器吗?

Can I not set up vanity nameservers?

推荐答案

创建4条CNAME记录ns#.abc-net.co,而不是用A记录对ns-cloud-d#.googledomains.com的IPv4地址进行硬编码. uk,指向ns-cloud-d#.googledomains.com服务器.然后,您的NS记录将是您为其进行CNAME记录的所有ns#.abc-net.co.uk名称.我只是对我的域进行了此操作,并且效果很好.

Instead of A records hardcoding the IPv4 address of ns-cloud-d#.googledomains.com, create 4 CNAME records, ns#.abc-net.co.uk, pointing to the ns-cloud-d#.googledomains.com servers. Then, your NS record would be all four of the ns#.abc-net.co.uk names that you made CNAME records for. I just did this with my domain and it is working great.

这可以更改Google解析器服务器的IP地址,而不会破坏您的DNS功能.此外,IPv6客户端将通过IPv6进行解析.

This allows the IP addresses of Google's resolver servers to change without breaking your DNS functionality. Additionally, IPv6 clients will resolve over IPv6.

这篇关于Google云端平台-虚名服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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