我(以为我)按照说明将自定义域映射到 Azure 上的 Web 应用程序这里。我使用 Namecheap 为“@”根主机创建了 A 记录和 TXT 记录,还为“www”子域创建了 A 记录和 TXT 记录。只有“www”子域为页面提供服务。我可以同时为两者创建 A 记录和 TXT 记录吗?我还为“www”子域设置了 CNAME。
Azure 对域和子域的验证都已完成,但页面仅提供给“www”子域。
我应该设置重定向吗,比如rankmemestash.com->www.rankmemestash.com,而是?我确实尝试过这个,但遇到了同样的错误。
答案1
对我来说,你的裸域名如下所示:
;rankmemestash.com. IN ANY
rankmemestash.com. 1799 IN A 162.255.119.248
rankmemestash.com. 1799 IN A 168.62.180.173
rankmemestash.com. 3601 IN DNSKEY 256 3 8 AwEAAeC7WrjzO6uujXivx5krP76N0eMEpojmae0/HHcoYf3GDSYADZ92 EjWAoY9V4ZMf+MnnKU0Dxk8rLwCQ0X6rsalr/UsGGrq38IZSyntvrpPp 48oFhd0NMKVXl6fnDpUHQeczkpGfgU1sXdL216BRw8VmS88rWD7A5yMv B3ibJU23
rankmemestash.com. 3601 IN DNSKEY 257 3 8 AwEAAb3nuZ1z9+XHRu/WqxRlu1kpJsjdZAZs/c1+X+wlD+yv8CIzF51K xfW8jTYOHqX3zVJlHPq3LdNRurh1Vg09oIezKN3EvySVz1ER4Gg6OiU4 aOYiUXJdN0/mEp9YzG6lXa9GnYz17ZfxJ3T+gILkGgYI/sFrzCCL4Tt0 G7hBGC/DUHQWIVlo27uLEegImaWhtDv0YWiJTmvmAje6/rpm2Jhrw60k UwakT6nhpjQ0UBDDi4AxKDUTPYDlOIam5pjsemjMVXYaoWqk/Ec6dz40 BtR2/OJbKMYR56fHUp6sdxuAnIllYvjs6KC+SdL4VuXgWuD8CmEQfPLv bPb9BdimFZM=
rankmemestash.com. 1800 IN MX 10 eforward1.registrar-servers.com.
rankmemestash.com. 1800 IN MX 10 eforward2.registrar-servers.com.
rankmemestash.com. 1800 IN MX 10 eforward3.registrar-servers.com.
rankmemestash.com. 1800 IN MX 15 eforward4.registrar-servers.com.
rankmemestash.com. 1800 IN MX 20 eforward5.registrar-servers.com.
rankmemestash.com. 1800 IN NS dns1.registrar-servers.com.
rankmemestash.com. 1800 IN NS dns2.registrar-servers.com.
rankmemestash.com. 3601 IN NSEC www.rankmemestash.com. A NS SOA MX TXT RRSIG NSEC DNSKEY
rankmemestash.com. 1799 IN RRSIG A 8 2 1799 20161103000000 20161013000000 38893 rankmemestash.com. yyTkImsCsmiv99/IVqC6fXKbhaPMv0M15h7sLQSnybwGdcnkeWugGFAC 2xx136R82G0O4X80Lc1ksWdwjZ/G+a/DghPNlk9aJBcxA1NHKQlUa4DR VhUcaHxaotCcFqPwT+xSGEfXfRcN9/IkCZVfMQvGU0PSKVz/48EDXnzC yTU=
rankmemestash.com. 3601 IN RRSIG DNSKEY 8 2 3601 20161103000000 20161013000000 41797 rankmemestash.com. seqDRP1doQrLigL54k9sIbbDiy9adN9pczDbNFqSCi87Y3516rQxKoJ4 BlVd6I/fTi7IqCPfznXpa/SgDulOUdR3zmU2OsDfY5eeDHBT6s19c6tp PYyAgh5Gp3ldELRzsiti+XSHxueCAtsyukrX3KYgK7c/FSN9CzCnd/vj UGsjLrahTxTSHLMpCFA2rBPylVMVU2tYfIP5PgQ9qSv/SOOhVvm/kyFD nrXxD8bUjqO7SRvGdjaF+O7uL71Axdd1AHDG+gPZzLF6GFoDYlcPKcRi ONsz+SiSsFDsRgt8ErK3lblXo/3dYxDzCY20fWMmR6CxyLIIcb5LKVrl OdFI1Q==
rankmemestash.com. 1800 IN RRSIG MX 8 2 1800 20161103000000 20161013000000 38893 rankmemestash.com. E7VxusZlRoiQzHMI9zhOSBOomVvc1BIhx0nMzYxu8izmqCUKBX1u2A7c b+OQNEWTI92uVYRx949MdYjCY2eSygWGS0prRTI+bBuLZulMwRZ/OPzj UzvBDBksXFOxUgl3e/DhBLgu5Ib30U5pKoJ1arNlIhD3yDPsa8j+YRj0 Zg0=
rankmemestash.com. 1800 IN RRSIG NS 8 2 1800 20161103000000 20161013000000 38893 rankmemestash.com. 0XjaMhaK7AK3x4zyuNrxZhlWsa9XqarR8QW4YB7dd1MPXgrQ5BzlDjda uJjjgKHCEzkp0QhTA+Yk8+sflEIDihIs/0t7y99h7c9gAa6w9ohFoDCX ao5oG4UsV3u/DSULSB3kW5IJ/01W78Ko3YQDAPmnBMPcFkHOppZlMLnv C8s=
rankmemestash.com. 3601 IN RRSIG NSEC 8 2 3601 20161103000000 20161013000000 38893 rankmemestash.com. rtld8mZ+ntLYGuAp+zPN87jgAsusa1woeeFlXoLOK0zPICclI4Sjt9tq N49ojnixgnqN9eakQZuNrnaiRN4Htm81ki/Bg8k4i1KeeDOXHPbC+9PF M6cBEjaAq+zv6YDynEyl6SsBlDJpcDv03kyzpFK5IZuVHQqhSYgTOOR+ 8rU=
rankmemestash.com. 3601 IN RRSIG SOA 8 2 3601 20161103000000 20161013000000 38893 rankmemestash.com. 19ppRPXqOQF3hlQyJ/oCwBbYSoZr0bnRLSMp7ERdtk4F7frnz8ShLv2E oIOea9/8gLzZK03kTqMLO5u/aIbKgFDajlrflEnSGikhOdGXCYiX41p7 9njjVfox5dtFfl0VgpQZsgDatXfYZP3Gqw3wyJlwwqUP7tt3manINomr Goo=
rankmemestash.com. 1800 IN RRSIG TXT 8 2 1800 20161103000000 20161013000000 38893 rankmemestash.com. jcAxnM89plB5hJdrpfrKYTqwP+h9a1Sy9wRRZfYACmJUZ/hd4nfIP5vZ sje6ytKRU+YK2pw3dFbnWBaTYEKnNZbLP9/HUZtH/qayFGSc+0WW/5FQ UWbS1AZ8hyEN6C6Rv01g5aJopRTXMvFMHmVBv1qDovw/NBFCdhmoW2XK sQg=
rankmemestash.com. 3601 IN SOA dns1.registrar-servers.com. hostmaster.registrar-servers.com. 2016102031 43200 3600 604800 3601
rankmemestash.com. 1799 IN TXT "rankmemestash.azurewebsites.net"
rankmemestash.com. 1800 IN TXT "v=spf1 include:spf.efwd.registrar-servers.com ~all"
这两条A
记录将导致轮询 DNS后续请求可能会解析到这两个不同的 IP 地址。这也许可以解释为什么http://rankmemestash.com
如果其中只有一个是活动的 Web 服务器,那么有时会成功,有时会失败。相比之下:记录www
仅指向:168.62.180.173