You are here

Unable to resolve host names

7 posts / 0 new
Last post
W6CSM
W6CSM's picture
Unable to resolve host names
I recently found that any local.mesh hostnames will not resolve with the chrome browser.  I also tried edge and the same problem.  I can browse to the ip address of my hap, but unable to find the ip addresses of the other nodes without the dns working.  Where do the mesh nodes dns servers reside and do I need to hard code this?  The syslog also indicates that the name doesn't resolve ie.

daemon.err manager[2217]: Name does not resolve: ` w6bi.ham-radio-op.net:5536'
I have rebooted everything and no change.
 build: 20260114-645ce2e7 for MikroTik RouterBOARD 952Ui-5ac2nD (hAP ac lite)
 


Chuck
W6CSM
K6CCC
K6CCC's picture
Since the example you gave is
Since the example you gave is an Internet address, not an AREDN Mesh address, I'm not sure how your text of not able to resolve local.mesh works into this.  With that said, what do you have connected to what?  Since you list that this is a hAP lite, I am going to assume you have port 1 of the hAP connected to a port on your "normal" home network and you are attempting to use that to get to Orv's tunnel server.  And you are using a computer connected to one of the LAN ports (2 - 4) of the hAP in order to communicate with the hAP, and your computer is getting a 10.x.y.z address from the hAP.  Is all that correct?
 
W6CSM
W6CSM's picture
Yes, that is correct Port 1
Yes, that is correct Port 1 is connected to my Lan, Port 2 to a dumb switch that both antennas are connected to and port 3 to this computer.
I am at the end of my rope here.  *.*.local.mesh will not dns resolve.  I have turned off port 1 (lan to wan) and now forcing everything to go through the mesh.
we shall see if this works.

Hope you can help

 
nc8q
nc8q's picture
'my Lan','both antennas','turned off port 1','forcing the mesh'?
Hi, Chuck:

When you say...I hope you mean:
'my Lan'...The LAN port of your home router. example: WAN:ISP address<>LAN:home 192.168.x.y.
'both antennas'...Exactly what are you calling an 'antenna'?
'turned off port 1'...How did you do this or why did you do this?
'forcing everything to go through the mesh'...Exactly what are you forcing and what is the 'mesh'?

On a vanilla AREDN'ized hAP-ac-lite:
Port one connects to the LAN port of your home router.
Ports 2,3,4 may connect to a computer or workstation or camera or...a device that will be requesting an IP address via DHCP or
a static IP address reserved on the hAP-ac-lite.
Port 5 will let you directly connect to one other AREDN device's DtD port or
a (dumb,smart) switch to > 1 AREDN devices DtD port.
Only indoor AREDN compatible devices have an external DtD ports;
the outdoor devices need a VLAN switch to segregate the DtD port.

I hope this helps, Chuck 
 
W6CSM
W6CSM's picture
Port one of the hap is
Port one of the hap is connected to my Local Network 192.168.x  The vpn tunnel runs through that port, I shut it down by pulling the cat 5 cable and eliminated any dns call through my local network. 
Port 5 dtd is connected to a dumb switch that distributes to two port injectors connected to a MikroTik RouterBOARD LHG 5HPnD and a MikroTik RouterBOARD SXT 5HPnD (SXT 5 High Power), these are the two RF links that I support.  I have a Nas connected to the Hap Lan port and this PC to the Hap lan port.  

When typing http://localnode.local.mesh/  on any device that I connect to LAN ports 3 & 4 that hostname doesn't resolve and connect to either the Hap web interface or do the other known hostnames for the the two other devices (antennas) thru port 5.     I can request a list of local nodes that from supernode and all the other nodes connected list, but when I click on any embedded link, the hostname doesn't resolve to an IP address.  However, I can manually type a valid IP address in the 10.x.x.x subnet and connect to any that I have tried so far.   
This problem started with the last nightly, I believe.  I have uploaded the last production release 4.26.1 and nothing has changed.   My next step is to attempt a downgrade to release 3.25.10.0 if no one can come up with a fix in the next few days.
 
I hope this explains the physical connections and the problem that I am having.

Thanks for the help

Chuck
nc8q
nc8q's picture
pulling the cat 5 cable...eliminated any dns call through my LAN
Hi, Chuck:

Is your trouble with your browser or the AREDN device?

From a computer connected to the LAN of an AREDN device,
whose WAN port has a route to your home router,
whose WAN is connected to your ISP,
the DNS servers will be in order
  1. the DNS information gathered and stored on your computer, if not found then
  2. the DNS information gathered and stored on your AREDN device, if not found then
  3. the DNS information gathered and stored on your home router, if not found then
  4. the DNS information gathered and stored on your ISP's server, if not found then
  5. ...
"by pulling the cat 5 cable and eliminated any dns call through my local network"
you have eliminated services 2., 3., 4., ...

Please try with default settings on your AREDN device and with your 
hAP-ac-lite port 1 (WAN) connected through to your ISP's network and
your home computer connected to port 2 or 3 or 4.
Your computer's DNS should function with or without AREDN devices DtD connected via
port 5 on your hAP-ac-lite.

73, Chuck
 
W6CSM
W6CSM's picture
The issue seems to be
The issue seems to be resolved by removing all advanced options under the DHCP settings on the Hap, and changing the network options to include default routing on the network settings.  

Thanks for your help


Chuck

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer