Subdomains added in CNAME records do not ping

Asked 2 years ago, Updated 2 years ago, 90 views

Failed to configure DNS record settings in muumuu domain as follows:

, A, xxx.xxx.xxx.xxx
*,CNAME,example.com

(The text box on the configuration screen is separated by commas.)

The foo.example.com browser was able to access the site, but when I tried ping, I got an error of ping:cannot resolve foo.example.com:Unknown host.

In the end, ping name resolution worked if you set everything in A record as follows.

, A, xxx.xxx.xxx.xxx
foo, A, xxx.xxx.xxx.xxx
bar, A, xxx.xxx.xxx.xxx

Why didn't the ping pass when I set it in the CNAME record?

dns

2022-09-30 15:39

2 Answers

The DNS server used to resolve the name of the ping was probably the content server.
Wouldn't it be solved by using a cache server to resolve the name when ping is executed?
The cname is set to a content server, but the cache server should be used to resolve the name when accessing it.The roles and behaviors are different.
Content and Cache Servers


2022-09-30 15:39

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.