Arne Fitzenreiter
c75fd8c8c5
convert-dns-settings: add ppp/settings to list of converted files
...
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-01-30 12:22:37 +00:00
Michael Tremer
8729316513
convert-dns-settings: Explicitely enable using ISP name servers
...
The unbound initscript checks if this parameter is on.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-01-29 11:52:02 +01:00
Arne Fitzenreiter
15e3419434
convert-dns-settings: remove DNS settings also if no server config is generated
...
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-01-28 20:31:22 +00:00
Arne Fitzenreiter
3ee6ac9dad
convert-dns-settings: Remove DNS variable from PPP profiles
...
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-01-28 19:38:16 +00:00
Arne Fitzenreiter
5d6ccc7a43
convert-dns-settings: Refactor reading old configuration
...
This patch makes the code a lot shorter by removing special
cases for all sorts of files when they can all be treaded
equally.
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-01-28 19:34:56 +00:00
Arne Fitzenreiter
d3236de23a
convert-dns-settings: Fix call for chmod
...
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-01-28 19:19:06 +00:00
Stefan Schantl
358bcfdb29
convert-dns-settings: Fix check to prevent doubble-adding the same server
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-01-28 15:38:36 +00:00
Stefan Schantl
dcc655efb8
convert-dns-settings: Import all possible PPP dialin profiles.
...
* Avoid from adding the same imported DNS server multiple times.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org >
2020-01-19 12:24:23 +00:00
Michael Tremer
7be4822f3d
unbound: Make dhcp-leases.conf readable for everyone
...
unbound runs as nobody and cannot reload its configuration
when this file is only readable for root.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-01-13 21:43:27 +01:00
Stefan Schantl
c73baee1f0
convert-dns-settings: Set correct ownership after convert is done.
...
Otherwise it may happen, that the created config files have wrong
permissions and the WUI will break.
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
2020-01-10 09:29:47 +01:00
Michael Tremer
1434fa0df5
DNS: Write name servers received from ISP to /var/run/dns{1,2}
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-01-07 13:35:45 +00:00
Michael Tremer
ecbf66761f
DNS: Add converter to migrate settings
...
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org >
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org >
2020-01-07 10:43:19 +00:00