Samsung Galaxy S6 Edge Says Connected to Wifi But Can’t Get Internet or YouTube
Dns probe image no internet error.You can try changing your ip settings from DHCP to static and connecting to GOOGLE dns.

Important: Before you start:
Before you change your DNS settings to use Google Public DNS, be sure to write down the current server addresses or settings on a piece of paper. It is very important that you keep these numbers for backup purposes, in case you need to revert to them at any time.

To change the DNS settings:
Open the Settings on the device.
Select “Wi-Fi”.
Long press your current network, then select “Modify network”.
Mark “Show advanced options” check box.
Change “IP settings” to “Static”
Add the DNS servers IPs to the “DNS 1”, and “DNS 2” fields.
DNS 1 to 8.8.4.4
DNS 2 to 8.8.8.8
Press “Save” button, disconnect from the network, and reconnect for changes to take effect.
Good luck!