[arm-allstar] Stopping DNS lookup

Cole Cunningham colecaz at gmail.com
Fri Jan 30 14:59:15 EST 2015


It would be clean to stop the DNS Refresh but not really necessary since the link is no longer there for rpt to find the list. 

 

There is a reference in /etc/asterisk/dnsmgr.conf that has:

 

[general]

; for ARA, this should probably be no when deployed

 

enable=no             ; enable creation of managed DNS lookups

                       ;   default is 'no'

refreshinterval=300    ; refresh managed DNS lookups every <n> seconds

                       ;   default is 300 (5 minutes)

 

Mine was set to yes and setting it to no seems to have stopped the refresh cycle.  But it used old data until your fix Corey.

 

Cole

 

From: arm-allstar-bounces at hamvoip.org [mailto:arm-allstar-bounces at hamvoip.org] On Behalf Of Corey Dean
Sent: Friday, January 30, 2015 12:40 PM
To: BeagleBone Black ARM Allstar
Subject: Re: [arm-allstar] Stopping DNS lookup

 

Now one last thing...  Doug is there a cron job that downloads this to stop a new one coming in?

Corey


On Jan 30, 2015, at 2:36 PM, <allstarlink at mcleanzone.com> <allstarlink at mcleanzone.com> wrote:

That is handy, Corey!

 

Thank you,

 

Fred McLean

W0FCM

 

 

From: Cole Cunningham [mailto:colecaz at gmail.com] 
Sent: Friday, January 30, 2015 1:31 PM
To: 'BeagleBone Black ARM Allstar'
Subject: Re: [arm-allstar] Stopping DNS lookup

 

That did it.  Turns out that’s a link to /tmp/rpt_extnodes but renaming it did the job.

 

Thanks Corey.

 

Cole

 

From: arm-allstar-bounces at hamvoip.org [mailto:arm-allstar-bounces at hamvoip.org] On Behalf Of Corey Dean
Sent: Friday, January 30, 2015 12:22 PM
To: BeagleBone Black ARM Allstar
Subject: Re: [arm-allstar] Stopping DNS lookup

 

If there is a public node 2446 and it is taking the public downloads or the extnodes file is in place it will still go there first because it will decode that first since 2446 is shorter than 2446xx.  Go to /var/lib/asterisk and delete the extnodes file and then things should work.

Corey


On Jan 30, 2015, at 2:09 PM, <allstarlink at mcleanzone.com> <allstarlink at mcleanzone.com> wrote:

Sorry. Bad example...

 

244695 = radio at 10.1.2.95:4569/244695,NONE

244696 = radio at 10.1.2.96:4569/244696,NONE

244697 = radio at 10.1.2.97:4569/244697,NONE

 

This is assuming you have the ports on each set to 4569.

 

Thank you,

 

Fred McLean

w0fcm

 

 

From: allstarlink at mcleanzone.com [mailto:allstarlink at mcleanzone.com] 
Sent: Friday, January 30, 2015 1:02 PM
To: 'BeagleBone Black ARM Allstar'
Subject: Re: [arm-allstar] Stopping DNS lookup

 

Cole,

 

You will need to place "phone book" entries in each of your rpt.conf files for each private node on each private node defining its static IP address. Do this in each node's [nodes] stanza.

 

Example: 

[nodes]

244695 = radio at 127.0.0.1:4569/244695,NONE

244696 = radio at 127.0.0.1:4569/244696,NONE

244697 = radio at 127.0.0.1:4569/244697,NONE

 

Thank you,

 

Fred McLean

w0fcm

 

 

From: Cole Cunningham [mailto:colecaz at gmail.com] 
Sent: Friday, January 30, 2015 12:35 PM
To: 'BeagleBone Black ARM Allstar'
Subject: [arm-allstar] Stopping DNS lookup

 

I’m working on a network of seven BBB’s with private node numbers outside the normal Allstar range.  They all have fixed IPs in the range 10.1.2.x.  When I try to connect from one to the other on the local network (for example: Node 244695 with IP 10.1.2.1, connect to Node 214724 with IP 10.1.2.2, using rpt fun 244695 *3214724)  node 244695 seems to go to the Allstar DNS and finds node 2147 active and connects to it.  

 

If I change node 214724 number to be 214524 it connects as desired, node 244695 to the node now numbered 214524.  Node 2145 is not shown in the Allstar node list, that’s why I chose it for a test.

 

How can I restrict connections to the local network only and to nodes defined in the [Nodes] stanza?

 

Thanks,

Cole AA7RD

_______________________________________________

arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar

Visit the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/

_______________________________________________

arm-allstar mailing list
arm-allstar at hamvoip.org
http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar

Visit the BBB web page - http://www.crompton.com/hamradio/BeagleBoneBlackAllstar/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hamvoip.org/pipermail/arm-allstar/attachments/20150130/edd591f0/attachment-0001.html>


More information about the arm-allstar mailing list