Hi,
For NCSI validates your connectivity to the Internet, the following two methods are performed, and if it fails, "No Internet access" is displayed:
(1) You can access www.msftconnecttest.com/connecttest.txt (ipv6.msftconnecttext.com for IPv6) by HTTP and get the Microsoft Connect Test file.
(2) DNS name resolution of dns.msftncsi.com matches "{Ipaddresspii}"
If Windows can successfully make these DNS and HTTP requests, it should believe it has an internet connection.
So, in your case, you need to set up dns.msftncsi.com name in a local DNS service that maps to IP address 131.107.255.255. And set up www.msftconnecttest.com name pointing to a local HTTP server that can serve a /connecttest.txt URI, the result should be Microsoft Connect Test.
For more details, you can refer to the following link (pay attention to what telcoM said):
https://superuser.com/questions/1400187/get-rid-of-false-no-internet-network-message
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Best Regards,
Candy
--------------------------------------------------------------
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.