Dns Probe Finished No Internet on mac

I experience dns probe finished no internet while my wifi work just fine on my iphone. I tried all the tutorial on google but nothing works. I tried ping the networks on my mac and it's works just fine, seems like nothing wrong. I’m confuse and hopeless to solve this problem. Please help any solutions? I’m using macOS high sierra.
Thank you.

System Configuration: iPhone / Safari 15.1