DNS request refused when using WiFi hotspot

A

AC Question

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
 

Rukbat

Retired Moderator
Feb 12, 2012
44,529
26
0
Visit site
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.
 

Stefan428

New member
Dec 16, 2017
1
0
0
Visit site
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!
 

Presley Lacharmante

New member
Jul 2, 2018
1
0
0
Visit site
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.
 

jonbev

New member
Jul 30, 2018
1
0
0
Visit site
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
 

ControlNode

New member
Jan 31, 2019
1
0
0
Visit site
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.
 

Forum statistics

Threads
943,156
Messages
6,917,554
Members
3,158,853
Latest member
WillyC