0

我一直在尝试为使用同一域的几个应用程序设置 DNS。

我希望 www.playfade.com 和 playfade.com 重定向到 playfade.herokuapp.com,所以分别设置一个 CNAME 和 ALIAS 指向 Heroku 应用程序。这工作正常。

我还希望 beta.playfade.com 指向 soundedout.herokuapp.com。为此,我将 beta.playfade.com 的 CNAME 设置为 soundedout.herokuapp.com。然而,这不起作用。当我访问 beta.playfade.com 时,我被重定向到 www.playfade.com。

我使用 MXToolbox 检查 beta.playfade.com 并得到了一些错误:

	Bad Glue Detected
Parent server gave glue for beta.playfade.com to be soundedout.herokuapp.com but we resolve that hostname to 176.34.187.173	

	At least one name server failed to respond in a timely manner
Failure detail: 176.34.187.173	 

	Local NS list does not match Parent NS list
50.31.242.53 was reported by the parent, but not locally
198.241.11.53 was reported by the parent, but not locally
198.241.10.53 was reported by the parent, but not locally
50.31.243.53 was reported by the parent, but not locally
176.34.187.173 was reported locally, but not by the parent	 

	Serial numbers do not match	

我也在 heroku 仪表板中正确设置了域。

任何帮助,将不胜感激。

4

1 回答 1

0
➜  ~  dig beta.playfade.com

; <<>> DiG 9.8.3-P1 <<>> beta.playfade.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 64369
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;beta.playfade.com.     IN  A

;; AUTHORITY SECTION:
playfade.com.       296 IN  SOA ns1.dnsimple.com. admin.dnsimple.com. 2014110501 86400 7200 604800 300

;; Query time: 668 msec
;; SERVER: 85.37.17.16#53(85.37.17.16)
;; WHEN: Thu Nov  6 10:29:27 2014
;; MSG SIZE  rcvd: 90

没有为主机名配置 CNAME beta.playfade.com。确保正确配置它,并确保您在应用程序内没有重定向配置(或者如果有,请相应地调整它)。

于 2014-11-06T09:30:43.237 回答