CNAME No access to Aliyun WAF

dash-dns
#1

We added foreign parsing records CNAME to CDN, but did not access the WAF Web firewall in Aliyun. What’s the reason for that? What should I do?

#2

Not sure what you mean. Is the WAF not working?

You can test if WAF is working by going to example.com/.git/HEAD (replace example.com with your domain).

#3

records CNAME 1016 error,bad request

#4

Can you post your domain and the CNAME “target” here?

#5

At present, NSLOOKUP genstattu.com is used here.
There is no CNAME or WAF in the test, and the A record has been made so far. Please check it.

#6

Can you screenshot the error you get? I don’t get 1016, I get a completely unrelated error:

image

#7

What is the reason for this mistake? Server?

#8

I get different responses for different visits. Sometimes I get the Bad Request error, and at other times it redirects to www and then works.

One way to fix this would be to add a Page Rule:
Match: genstattu.com/* and add a Setting for Forwarding URL to https://www.genstattu.com/$1

That should bypass whatever error is happening at the root domain. I suspect it’s multiple DNS entries for a hostname. Can you post a screenshot of your DNS page? OK to black out IP addresses.

#9

The DNS page Only Cname record