1. AC Question's Avatar
    I have a Huawei P9 Plus running Android 7.0. My provider is Vodafone UK and I have a monthly contract. When I use the WiFi hotspot on the phone devices can connect to it but have no Internet access. I tried connecting a Windows tablet to it and by using ipconfig and nslookup discovered that DNS requests to the DNS server seem to be rejected. The question of course is what could cause that?

    Here's the output from nslookup when querying www.microsoft.com:

    ------------
    Got answer:
    HEADER:
    opcode = QUERY, id = 1, rcode = REFUSED
    header flags: response, want recursion, recursion avail.
    questions = 1, answers = 0, authority records = 0, additional = 0

    QUESTIONS:
    1.43.168.192.in-addr.arpa, type = PTR, class = IN

    ------------
    Server: UnKnown
    Address: 192.168.43.1

    ------------
    Got answer:
    HEADER:
    opcode = QUERY, id = 2, rcode = REFUSED
    header flags: response, want recursion, recursion avail.
    questions = 1, answers = 0, authority records = 0, additional = 0

    QUESTIONS:
    www.microsoft.com, type = SOA, class = IN

    ------------
    ------------
    Got answer:
    HEADER:
    opcode = QUERY, id = 3, rcode = REFUSED
    header flags: response, want recursion, recursion avail.
    questions = 1, answers = 0, authority records = 0, additional = 0

    QUESTIONS:
    www.microsoft.com, type = SOA, class = IN

    ------------

    And ipconfig:

    Wireless LAN adapter WiFi:

    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : The Broadcom 802.11 Network Adapter provides wireless local area networking.
    Physical Address. . . . . . . . . : 40-16-7E-D8-B1-6B
    DHCP Enabled. . . . . . . . . . . : Yes
    Autoconfiguration Enabled . . . . : Yes
    Link-local IPv6 Address . . . . . : fe80::103f:707e:d6ec:c07f%2(Preferred)
    IPv4 Address. . . . . . . . . . . : 192.168.43.150(Preferred)
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Lease Obtained. . . . . . . . . . : 25 July 2017 13:26:18
    Lease Expires . . . . . . . . . . : 25 July 2017 14:26:17
    Default Gateway . . . . . . . . . : 192.168.43.1
    DHCP Server . . . . . . . . . . . : 192.168.43.1
    DHCPv6 IAID . . . . . . . . . . . : 171972222
    DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1D-51-25-15-40-16-7E-D8-B1-6B
    DNS Servers . . . . . . . . . . . : 192.168.43.1
    NetBIOS over Tcpip. . . . . . . . : Enabled
    07-26-2017 08:07 AM
  2. Rukbat's Avatar
    Have you tried it with a terminal emulator, directly from Linux on the phone?

    Are you connected to a wifi router? (That might mess things up - it did when I tried it. Either wifi or mobile data, not both connections at once.)

    If everything else seems okay, I'd bring the phone into Vodaphone so I could show them how it's not working.
    07-26-2017 01:56 PM
  3. Stefan428's Avatar
    Hey,
    Did you ever find a solution?
    I have exactly the same problem. When I connect my Win 10 laptop to my phone via WiFi hotspot, the DNS query gets refused. I normally change the adapter settings and use the Google DNS servers as a work around. However, that should of course not be necessary.
    It would be great if you found a solution!
    12-16-2017 01:52 PM
  4. Presley Lacharmante's Avatar
    To fix the DNS problem, you have to tweak the adaptor on your windows. Go to control panel, network adaptors. Find the Wifi Virtual Adaptor, edit it, properties, tcp-ip

    Here you may see nothing set, put the IP Address block automatically and the Dns block put google dns servers 8.8.8.8 and 8.8.4.4.

    That's all.

    I hope Microsoft will fix it in future updates.
    07-02-2018 12:16 PM
  5. jonbev's Avatar
    I had the same issue recently on my P10 and found a forum post somewhere that suggested resetting your APN settings to default. I tried this and it worked for me.



    Go to Settings -> Wireless & networks -> Mobile network -> Access Point Name

    Hit the ... (dot dot dot) menu in the top right and choose "Reset to default"



    I hope this helps other people with this issue.



    Jon
    07-30-2018 05:54 AM
  6. ControlNode's Avatar
    Having this same problem yesterday with my Pixel 3 XL with Android 9.0 on it. My PC would would connect to the phone, get an IP from Android's DHCP server and I could ping the DHCP/Gateway/DNS IP. But DNS request were failing. When I used nslookup it was reporting that the DNS server return "query refused". I even tried to set the DNS in the PC to 8.8.8.8, but it still could not reach the DNS. tracert stopped at the phone's hotspot gateway IP. Same issue in Safemode. I tried with the Fi VPN disabled, not fixed. My wife's Pixel 2, also on Fi and with Fi VPN enabled, worked fine for the hotspot.

    Was on tech chat for nearly 2 hours and not resolved, they want me to do a factory reset. Doing this was not an option last night since reason for wanting to tether my PC through the phone was that my home internet service was out. On Google Fi and see no option to reset APN data in the mobile data setting on this phone.

    Also, note: this issue was present with my phone for both Wifi hotspot and USB tethering.
    01-31-2019 08:28 AM
  7. Jorge Gonga's Avatar
    Thanks so much @jonbev Works for me. I had the same issue for months. Moto Z2 play android 8.0
    09-27-2019 08:43 AM

Similar Threads

  1. Replies: 2
    Last Post: 07-26-2017, 11:01 PM
  2. Replies: 2
    Last Post: 07-26-2017, 01:47 AM
  3. Why is my samsung 7 wifi on all the time?
    By Faithemma in forum Samsung Galaxy S7
    Replies: 1
    Last Post: 07-26-2017, 01:40 AM
  4. Replies: 1
    Last Post: 07-26-2017, 01:19 AM
  5. Replies: 1
    Last Post: 07-25-2017, 10:05 PM
LINK TO POST COPIED TO CLIPBOARD