使用 Google Cloud Platform 托管静态网站的 DNS_PROBE_FINISHED_NXDOMAIN [英] DNS_PROBE_FINISHED_NXDOMAIN with hosting static website with Google Cloud Platform
问题描述
我按照
但只有 lihenrychang.com
解析:
$ dig lihenrychang.com @8.8.8.8...;;回答部分:力恒恒昌.com.14399 在 34.120.167.35...$ dig lihenrychang.com @1.1.1.1...;;回答部分:力恒恒昌.com.14400 中 34.120.167.35...
和
$ dig www.lihenghenrychang.com @8.8.8.8...;;选择伪部分:;EDNS:版本:0,标志:;UDP:512;;问题部分:;www.lihenrychang.com.在一个;;权威部分:力恒恒昌.com.299 在 SOA 中 ns1.bluehost.com.dnsadmin.bluehost.com.2020083001 86400 7200 3600000 300...$ dig www.lihenrychang.com @1.1.1.1...;;选择伪部分:;EDNS:版本:0,标志:;UDP:1232;;问题部分:;www.lihenrychang.com.在一个;;权威部分:力恒恒昌.com.300 在 SOA ns1.bluehost.com.dnsadmin.bluehost.com.2020083001 86400 7200 3600000 300...
因此,lihenrychang.com
是可访问的:
但 www.lihenrychang.com
不是:
要解决此问题,您可以尝试按照文档DNS 记录解释 并为lihenrychang.com
配置A
记录:
例如,一个A记录用于指向一个逻辑域名,例如作为google.com",到谷歌托管服务器的 IP 地址,74.125.224.147".
www.lihenghenrychang.com
的
和CNAME
记录:
这些记录将 www.example.com 指向 example.com...
如果没有任何帮助,您应该联系 Bluehost 支持.
I followed the instructions on hosting-static-website and successfully set up an website with the ip 34.120.167.35, where I am able to view my site.
My DNS and domain name are both provided by BlueHost. I used the TXT verification and have my SSL certificate activated on Google's end.
I also added my ip as an A record on Bluehost's DNS config.
Once everything is setup, I entered my domain name lihenghenrychang.com in the browser and worked. However, a day after, the domain name would give back the following error: lihenghenrychang.com’s server IP address could not be found. DNS_PROBE_FINISHED_NXDOMAIN. Meanwhile, I can still successfully view my site at the ip 34.120.167.35.
I have no idea where the problem could be and how to resolve this issue. I think there's a problem with the DNS, however, the customer support from bluehost said I should contact Google in terms of the problem. Would appreciate if anyone could help.
It looks like an issue with DNS configuration. As I can see at the screenshot, you've configured records for lihenghenrychang.com
and www.lihenghenrychang.com
but only lihenghenrychang.com
resolves:
$ dig lihenghenrychang.com @8.8.8.8
...
;; ANSWER SECTION:
lihenghenrychang.com. 14399 IN A 34.120.167.35
...
$ dig lihenghenrychang.com @1.1.1.1
...
;; ANSWER SECTION:
lihenghenrychang.com. 14400 IN A 34.120.167.35
...
and
$ dig www.lihenghenrychang.com @8.8.8.8
...
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;www.lihenghenrychang.com. IN A
;; AUTHORITY SECTION:
lihenghenrychang.com. 299 IN SOA ns1.bluehost.com. dnsadmin.bluehost.com. 2020083001 86400 7200 3600000 300
...
$ dig www.lihenghenrychang.com @1.1.1.1
...
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;www.lihenghenrychang.com. IN A
;; AUTHORITY SECTION:
lihenghenrychang.com. 300 IN SOA ns1.bluehost.com. dnsadmin.bluehost.com. 2020083001 86400 7200 3600000 300
...
As a result, lihenghenrychang.com
is reachable:
but www.lihenghenrychang.com
isn't:
To solve this issues you can try to follow the documentation DNS Records Explained and configure A
record for lihenghenrychang.com
:
For example, an A Record is used to point a logical domain name, such as "google.com", to the IP address of Google's hosting server, "74.125.224.147".
and CNAME
record for www.lihenghenrychang.com
:
These records point www.example.com to example.com...
If nothing helped, you should reach Bluehost support.
这篇关于使用 Google Cloud Platform 托管静态网站的 DNS_PROBE_FINISHED_NXDOMAIN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!