Devices conected by AP can't access other devices by hostname


I am really desperate because I'm not able to find a solution to this situation so, I'll thank any idea.

I'm going to explain the situation ...

The host has the hostname "consolasonion".

If I access to openwrt by ssh, I can ping "consolasonion". It's ok!

root@OpenWrt:~# ping consolasonion
PING consolasonion ( 56 data bytes
64 bytes from seq=0 ttl=64 time=0.181 ms

I have a WifiAP in openwrt... and the Windows PC connected by this AP is not able to ping "consolasonion". That's not ok :frowning:

And... this is crazy (for me) because nslookup reports the correct IP resolution in every device.

C:\Users\myname>ping consolasonion
Ping request could not find host consolasonion. Please check the name and try again.

C:\Users\myname>nslookup consolasonion

Name: consolasonion

The configuration is that I have a PfSense and a OpenWrt running in Proxmox as VMs. And OpenWRT has a USB Wifi connected and configured as AP.

The hostname is configured in PfSense / DNS resolver.

It fails in windows and works in android.

More crazy (for me :slight_smile: )...

If I create another DNS Resolver, in this case "carlos.consolasonion" with the same IP, and then, all the devices are able to ping to it.

I have changed every single configuration and parameter en PfSense and OpenWRT. I have read docens of posts and I'm not able to make it work.

I have turned ON and OFF all these options in "dnsmasq -> DNS/DHCP". I have rebooted openWRT and Fluhsed DNS in windows client after every change:

  • Domain required
  • Rebind protection
  • Non wildcard
  • Localise queries
  • Expand hosts
  • No negative cache
  • Advanced setting -> All servers
  • Firewall service

I have also disabled NetBIOS over Tcpip on Windows

And nothing works.

From SSH I'm able to connect.

From Windows, the ip is resolved by nslookup but I'm not able to connect to "consolasonion"

I am able to connect to "carlos.consolasonion"

The easyest solution would be to change the hostname, but it's a Security Onion server and it doesn't allow to change the hostname :frowning:

And... anyway... the point is .. .WHY IS HAPPENING THIS!?!?!

I'll than any suggestion.

Thank you!

Try ping with hostname followed by a dot. So instead of ping wolfman use ping wolfman.

Windows being windows :smiley:

Best regards


You have find what I was not able to find in hours of searching.

Thank you ... also, because of that amazing sentence "Windows being Windows", hahaha

I have to fix now the configuration the application that reported the problem, because the hostname doesn't have the dot.

You have make my day :slight_smile:

Best regards,

Adding "dot" as DNS suffix doesn't work either :frowning: