[HECnet] Static IPs for everyone!

Johnny Billquist bqt at softjar.se
Mon Nov 7 03:03:43 PST 2016


On 2016-11-07 12:02, Sampsa Laine wrote:
> Actually I just wrote like 10 lines of Python to check if the address has changed, if so, -HUP the bridge process.

:-)

Yeah, that's an obvious, easy way to make it sane.

	Johnny

>
> Sampsa
>
>> On 7 Nov 2016, at 12:47, Johnny Billquist <bqt at softjar.se> wrote:
>>
>> On 2016-11-07 11:32, Sampsa Laine wrote:
>>> Just out of interest, does a kill -HUP on the bridge process make it re-resolve DNS addresses to IPs?
>>
>> Yes.
>>
>>> Because then I’ll just have a loop do that.
>>
>> That works. However, you might get an interruption of service whenever you send it a HUP, so it might not be advisable to do that all the time...
>>
>> 	Johnny
>>
>> --
>> Johnny Billquist                  || "I'm on a bus
>>                                  ||  on a psychedelic trip
>> email: bqt at softjar.se             ||  Reading murder books
>> pdp is alive!                     ||  tryin' to stay hip" - B. Idol
>


-- 
Johnny Billquist                  || "I'm on a bus
                                   ||  on a psychedelic trip
email: bqt at softjar.se             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


More information about the Hecnet-list mailing list