[arm-allstar] Registered IP address vs DNS lookup

Robert N7GET armallstar at muttsoft.com
Fri Jul 23 13:53:40 EDT 2021


First of all full disclosure: I am not proficient at AllStarLink. I do have a solid understanding of Linux & TCP/IP networking.  I have no doubt that the networking is working correctly.  

Our ASL node is behind a firewall with two connections to the Internet, one’s a primary and the other is a failover.  Various utilities show that the primary IP address appears to be registered with the ASL servers.  But for some reason, the failover address is the IP address being returned by DNS lookups for our ASL node.  We've left the system up for more than a day as well as rebooted.

Here are some commands and results for reference:

Here’s the output of 'iax2 show registry command':
Host                  dnsmgr  Username               Perceived             Refresh  State
34.105.111.212:4569   Y       52222                  63.147.119.75:4569        180  Registered

And iax2 reload:
[Jul 23 08:11:55] NOTICE[26018]: chan_iax2.c:11573 set_config: Ignoring bindport on reload
[Jul 23 08:11:55] NOTICE[26018]: chan_iax2.c:11632 set_config: Ignoring bindaddr on reload
  == adding dns manager for 'register.allstarlink.org <http://register.allstarlink.org/>'
  == Loaded firmware 'iaxy.bin'
[Jul 23 08:11:55] NOTICE[342]: chan_iax2.c:7446 iax2_ack_registry: Registered IAX2 to '34.105.111.212', who sees us as 63.147.119.75:4569 with no messages waiting

check_reg.sh:

Node - 52222 at IP address- 63.147.119.75, Port- 4569 is "Registered" at Server
IP- 34.105.111.212 (register-west1-b.allstarlink.org <http://register-west1-b.allstarlink.org/>.), Port- 4569

And check_connect.sh:

		Check Internet Connectivity

	Your local IP address is - 192.168.220.2
	Your public IP address is - 63.147.119.75

	Current nameserver(s)

	nameserver 127.0.0.1

	Checking DNS Servers

	DNS 127.0.0.1 returns 74.91.126.182 for hamvoip.org <http://hamvoip.org/>
	DNS 127.0.0.1 returns hvdallas2.hamvoip.org <http://hvdallas2.hamvoip.org/>. for register.hamvoip.org <http://register.hamvoip.org/>
	DNS 127.0.0.1 returns 12.17.29.162 for stats.hamvoip.org <http://stats.hamvoip.org/>
	DNS 127.0.0.1 returns 34.105.111.212 for allstarlink.org <http://allstarlink.org/>
	DNS 127.0.0.1 returns stats-west.allstarlink.org <http://stats-west.allstarlink.org/>. for stats.allstarlink.org <http://stats.allstarlink.org/>
	DNS 127.0.0.1 returns 34.105.111.212 for register.allstarlink.org <http://register.allstarlink.org/>
	DNS 127.0.0.1 returns 142.250.188.238 for google.com <http://google.com/>
	DNS 8.8.8.8 returns 74.91.126.182 for hamvoip.org <http://hamvoip.org/>
	DNS 8.8.8.8 returns hvdallas2.hamvoip.org <http://hvdallas2.hamvoip.org/>. for register.hamvoip.org <http://register.hamvoip.org/>
	DNS 8.8.8.8 returns 12.17.29.162 for stats.hamvoip.org <http://stats.hamvoip.org/>
	DNS 8.8.8.8 returns 34.105.111.212 for allstarlink.org <http://allstarlink.org/>
	DNS 8.8.8.8 returns stats-west.allstarlink.org <http://stats-west.allstarlink.org/>. for stats.allstarlink.org <http://stats.allstarlink.org/>
	DNS 8.8.8.8 returns 162.248.92.131 for register.allstarlink.org <http://register.allstarlink.org/>
	DNS 8.8.8.8 returns 142.250.188.238 for google.com <http://google.com/>
	DNS 8.8.4.4 returns 74.91.126.182 for hamvoip.org <http://hamvoip.org/>
	DNS 8.8.4.4 returns hvdallas2.hamvoip.org <http://hvdallas2.hamvoip.org/>. for register.hamvoip.org <http://register.hamvoip.org/>
	DNS 8.8.4.4 returns 12.17.29.162 for stats.hamvoip.org <http://stats.hamvoip.org/>
	DNS 8.8.4.4 returns 34.105.111.212 for allstarlink.org <http://allstarlink.org/>
	DNS 8.8.4.4 returns stats-west.allstarlink.org <http://stats-west.allstarlink.org/>. for stats.allstarlink.org <http://stats.allstarlink.org/>
	DNS 8.8.4.4 returns 34.105.111.212 for register.allstarlink.org <http://register.allstarlink.org/>
	DNS 8.8.4.4 returns 142.250.188.238 for google.com <http://google.com/>

	Important Destination Checks

	localhost is reachable at 127.0.0.1
	hamvoip.org <http://hamvoip.org/> is reachable at 74.91.126.182
	register.hamvoip.org <http://register.hamvoip.org/> is reachable at 74.91.126.182
	stats.hamvoip.org <http://stats.hamvoip.org/> is reachable at 12.17.29.162
	allstarlink.org <http://allstarlink.org/> is reachable at 34.105.111.212
	stats.allstarlink.org <http://stats.allstarlink.org/> is reachable at 34.105.111.212
	register.allstarlink.org <http://register.allstarlink.org/> is not reachable
	google.com <http://google.com/> is reachable at 142.250.188.238

	NOT ALL SITES REACHABLE!
 DNS lookup returns - +OK|radio at 184.190.59.236 <mailto:OK|radio at 184.190.59.236>:4569/52222,184.190.59.236

So the .75 (primary) address seems to be registered, but the DNS lookup is still returning .236 (failover) for 52222.  

Any ideas?

TIA, Robert N7GET


More information about the ARM-allstar mailing list