Internet Connection Sharing with Wireless Hosted Network (WHN) is not providing a DNS server for WHN clients

10,583

I had the same issue, frustrating to get no connection when connecting to the windows hostednetwork because of no DNS being sent to the connected devices.

I found the solution here: https://4sysops.com/archives/how-to-share-wi-fi-in-windows-8-with-internet-connection-sharing-ics/ I read it before but didn't get it until the second time around, the steps that go like this are important:

  • Start the hostednetwork as you are doing.
  • Be connected to the network with the internet access you want to share with others.
  • Go to Control Panel\Network and Internet\Network Connections and you will see your internet connection and your hostednetwork as something like "Local Area Connection* XX". Even though it's a wifi connection you are hosting, it will still be called a "LAN" connection.
  • Now open the Properties of your source internet connection and go to Sharing tab and select to share the connection with the "LAN * XX" connection.

Now in summary, when you connect to the hotspot after sharing the source connection with your hostednetwork connection, the DNS will start being sent to the devices that are connected via DHCP automatically.

Addendum A: Make sure that there is no DNS setting manually set on the "Local Area Connection*3" for example, it should just be empty: enter image description here

Addendum B: Make sure your local firewall isn't blocking anything, my zonealarm blocks the DNS/IP being sent out, so I have to disable it.

Share:
10,583

Related videos on Youtube

CMCDragonkai
Author by

CMCDragonkai

Updated on September 18, 2022

Comments

  • CMCDragonkai
    CMCDragonkai over 1 year

    On Windows 8, I'm using a wireless hosted network with ICS. I have one interface connected to internet, and my WiFi interface as a wireless access point. The interface that is connected to internet is a USB modem.

    This is what I did, I ran these commands:

    netsh wlan set hostednetwork ssid=* key=*
    netsh start hostednetwork
    

    Then I configured the ICS on the interface connected to internet and linked it up with the new virtual WiFi access point interface.

    Then I connected my Android phone to the WiFi access point and tried to access the internet.

    An error occurred on the browser, telling me that the DNS did not resolve.

    So I modified (static config) the WiFi configuration on my Android phone to use Google DNS 8.8.8.8 and 8.8.4.4 and everything worked.

    The WiFi interface is on 192.168.137.1, so my Android phone connected in that particular range, and set the gateway & DNS to the same IP.

    In all the guides I've read on the internet, no site mentioned this problem. I don't understand why the DNS information is not propagating from the USB modem -> WiFi Access Point -> Android phone WiFi?

    Even if I set the DNS servers on the WiFi access point interface statically to Google DNS, it still doesn't work.

    The internet connection only works properly if I set the DNS servers on my Android phone's WiFi configuration. If I don't, I can only use direct IPs.

    Any ideas?

  • David d C e Freitas
    David d C e Freitas over 7 years
    Also, for me, sometimes I have to enable the Ethernet connection (just enable not using it actually), just to get the other hostednetwork to show up as an option for sharing.
  • WhiskerBiscuit
    WhiskerBiscuit over 7 years
    Blanking out the DNS addresses will just make the radio button go back to using Automatic DNS
  • David d C e Freitas
    David d C e Freitas over 7 years
    Oh, I also have to redo this action every now and then because the DNS gets lost after some time of switching it on and off I guess.