Revision 1c84a5f1
Added by Chris Buechler over 10 years ago
etc/rc.newwanip | ||
---|---|---|
210 | 210 |
|
211 | 211 |
/* reconfigure our gateway monitor */ |
212 | 212 |
setup_gateways_monitor(); |
213 |
|
|
214 |
/* reload unbound */ |
|
215 |
services_unbound_configure(); |
|
213 | 216 |
|
214 | 217 |
if (is_ipaddr($curwanip)) |
215 | 218 |
@file_put_contents("{$g['vardb_path']}/{$interface}_cacheip", $curwanip); |
etc/rc.newwanipv6 | ||
---|---|---|
162 | 162 |
file_put_contents("{$g['vardb_path']}/{$interface}_cacheipv6", $curwanipv6); |
163 | 163 |
} |
164 | 164 |
|
165 |
|
|
166 |
/* reload unbound */ |
|
167 |
services_unbound_configure(); |
|
168 |
|
|
165 | 169 |
/* perform RFC 2136 DNS update */ |
166 | 170 |
services_dnsupdate_process($interface); |
167 | 171 |
|
Also available in: Unified diff
Reload Unbound after IP changes, to fix issues noted in Ticket #4095. Do so before Dynamic DNS updates occur to ensure the host has functioning DNS.