mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 13:02:58 +02:00
unbound: rework dns-forwader handling
add check if red interface has an IPv4 address before test the servers at red up and simply remove forwarders at down process. This also fix the hung at dhcpd shutdown. Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Remove DNS forwarders for unbound
|
||||
exec /etc/init.d/unbound remove-forwarders
|
||||
@@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Update DNS forwarders for unbound
|
||||
exec /etc/init.d/unbound update-forwarders
|
||||
Reference in New Issue
Block a user