Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
IPv6: How to restart services for dynamic prefix on tracked interfaces?
« previous
next »
Print
Pages: [
1
]
Author
Topic: IPv6: How to restart services for dynamic prefix on tracked interfaces? (Read 5170 times)
bebef
Newbie
Posts: 18
Karma: 1
IPv6: How to restart services for dynamic prefix on tracked interfaces?
«
on:
December 23, 2018, 09:24:42 am »
Hi everyone!
I have a /56 on my WAN which gets changed by the provider on each connection or at latest every 24h. I have a setup where my internal interfaces track the WAN for IPv6 assignments, which works well enough.
However, the IPv6 of each internal interface obviously changes with each change on the WAN. That will cause dnsmasq not to respond to DNS queries any more (on the new IPv6). Also, I'm not 100% sure that DHCP would advertise the correct IPv6 for dnsmasq after the change.
Restarting fixes things, so the question is: how can I restart services like dnsmasq (and potentially other services like DHCP) on IPv6 address changes on interfaces?
Cheers
Logged
GDixon
Jr. Member
Posts: 98
Karma: 4
Re: IPv6: How to restart services for dynamic prefix on tracked interfaces?
«
Reply #1 on:
December 23, 2018, 11:33:08 am »
Thats an odd one, My provider (spectrum) has yet to change my IPv6 ip and they have been the same for the last 4 months.
I also use a /56 and track the wan.
Maybe try dhcp instead of tracking and assign your internal lan a range of ip's?
Logged
Waschbuesch
Newbie
Posts: 27
Karma: 4
Re: IPv6: How to restart services for dynamic prefix on tracked interfaces?
«
Reply #2 on:
March 01, 2019, 12:22:48 am »
I have the same situation as bebef. My provider (m-net) only offers dynamic IPv6 addresses that seem to change once per day so I would also need the dns resolver (unbound in my case) to restart once the the address changes. How could this be accomplished?
I guess I could try to time a cronjob with the time of address change, but the proper thing would be to have the address change trigger this.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
IPv6: How to restart services for dynamic prefix on tracked interfaces?