Override IP address of a YSF Reflector

Help with YSF / Fusion issues
BX3ACB
Posts: 9
Joined: Tue Jan 29, 2019 2:44 am

Re: Override IP address of a YSF Reflector

Post by BX3ACB »

I don't know why may YSF hosts file can not overwrite

Could you please tell me witch is correct path and file name and format ?

My pistar version is 3.4.17,thanks
M1DNS
Pi-Star Team
Posts: 1388
Joined: Thu Apr 05, 2018 5:30 am

Re: Override IP address of a YSF Reflector

Post by M1DNS »

There isn't one.

Pistar obtains its YSF addresses from the YSF registry. The pistar server updates itself every hr with what's registered there. Then it updates your install either during a manual update or via the auto overnight maintenance scripts.

Currently there's no function for a personal entry host for YSF.


Sent from my SM-G935F using Tapatalk



Andrew M1DNS.
Pi-star Admin Team.
BX3ACB
Posts: 9
Joined: Tue Jan 29, 2019 2:44 am

Re: Override IP address of a YSF Reflector

Post by BX3ACB »

Dear Sir

Thanks for reply, is it possible to add this overwrite function in the future?
AE5JO
Posts: 27
Joined: Thu Feb 07, 2019 2:30 am

Re: Override IP address of a YSF Reflector

Post by AE5JO »

You could potentially edit your global host file at /etc/hosts to point the url at the ip address on your LAN. For example, my YSF reflector is at URL ae5jo.bounceme.net but on my LAN it is at 192.168.1.102. I edit the file at /etc/hosts to point ae5jo.bounceme.net to 192.168.1.102 and it works.
That said, if I change the local IP address of the YSF reflector or if I take the hotspot portable off of the LAN I have to remember to go back and edit the file.
M1DNS
Pi-Star Team
Posts: 1388
Joined: Thu Apr 05, 2018 5:30 am

Re: Override IP address of a YSF Reflector

Post by M1DNS »

AE5JO wrote:You could potentially edit your global host file at /etc/hosts to point the url at the ip address on your LAN. For example, my YSF reflector is at URL ae5jo.bounceme.net but on my LAN it is at 192.168.1.102. I edit the file at /etc/hosts to point ae5jo.bounceme.net to 192.168.1.102 and it works.
That said, if I change the local IP address of the YSF reflector or if I take the hotspot portable off of the LAN I have to remember to go back and edit the file.
Each time the install runs the overnight maintenance scripts it'll over write the host file. So is only a solution if you only power the install on and off only whilst your using it. And never again run an update. Image

Sent from my SM-G935F using Tapatalk

Andrew M1DNS.
Pi-star Admin Team.
AE5JO
Posts: 27
Joined: Thu Feb 07, 2019 2:30 am

Re: Override IP address of a YSF Reflector

Post by AE5JO »

Andy,
I love the emoji but I am not talking about "/usr/local/etc/YSFHosts.txt" but rather "/etc/hosts" which I assure you does not get overwritten upon update, nor would you want it to be. I suppose you may not like a file that "ignores DNS" though (get it? - M1DNS, ignores DNS, never mind...)

I just added the following line
192.168.1.102 ae5jo.bounceme.net
and now it will ignore URL translation from DNS servers and route any port going to "ae5jo.bounceme.net" to 192.168.1.102 instead of my internet facing IP address.
M1DNS
Pi-Star Team
Posts: 1388
Joined: Thu Apr 05, 2018 5:30 am

Re: Override IP address of a YSF Reflector

Post by M1DNS »


AE5JO wrote:Andy, I suppose you may not like a file that "ignores DNS" though (get it? - M1DNS, ignores DNS, never mind...)
I seen what you did there... ImageImage

PS I'm Andrew, Andy is the other fellow. Image



Sent from my SM-G935F using Tapatalk

Andrew M1DNS.
Pi-star Admin Team.
AE5JO
Posts: 27
Joined: Thu Feb 07, 2019 2:30 am

Re: Override IP address of a YSF Reflector

Post by AE5JO »

Sorry Andrew!
M1DNS
Pi-Star Team
Posts: 1388
Joined: Thu Apr 05, 2018 5:30 am

Re: Override IP address of a YSF Reflector

Post by M1DNS »

AE5JO wrote:Sorry Andrew!
No probs, no harm done, no apology needed. A common occurance you won't be the first, or last, two similar names same place. ImageImage

Sent from my SM-G935F using Tapatalk

Andrew M1DNS.
Pi-star Admin Team.
BX3ACB
Posts: 9
Joined: Tue Jan 29, 2019 2:44 am

Re: Override IP address of a YSF Reflector

Post by BX3ACB »

AE5JO wrote: Thu Apr 02, 2020 2:57 pm Andy,
I love the emoji but I am not talking about "/usr/local/etc/YSFHosts.txt" but rather "/etc/hosts" which I assure you does not get overwritten upon update, nor would you want it to be. I suppose you may not like a file that "ignores DNS" though (get it? - M1DNS, ignores DNS, never mind...)

I just added the following line
192.168.1.102 ae5jo.bounceme.net
and now it will ignore URL translation from DNS servers and route any port going to "ae5jo.bounceme.net" to 192.168.1.102 instead of my internet facing IP address.
Thanks , it is useful for local connect , but I want is

Other people can selectnprivate ysf reflector from pistar ysf list ,

the list is for ysf registered only now ,I like it can be customise funcrion like DExtra_Hosts.txt or DMR_Hosts.txt under /root directory and will not over write by update.

It is helpful people who don't want their reflector be public and early selection for their members
Locked