Franco Fichtner
e6e22a1ca1
dnsapi: fix OPNsense script to be compatible with upcoming 23.1.8
The current script is already broken due to Bind 9.16 -> 9.18 changes
due to their renaming scheme for primary/secondary so do not rely on the
compat layer (which was also broken for other reasons).
2 years ago
Kevin Köllmann
69aeb70cc3
Slightly modify regex to conform to new API response format
2 years ago
Kevin Köllmann
47e60cefe3
Use new searchMasterDomain API endpoint
2 years ago
Jesai Langenbach
0b8ae68213
Fix: cut for domain uuid with searchDOmain response
2 years ago
Jesai Langenbach
0e73128f40
Finaly found a regex wich works for sed and egrep -o and use searchDomain api for easier to parse response
2 years ago
Jesai Langenbach
927c003d22
More robust and shortend egrep
2 years ago
richard-9000
8752d08ce9
dns_opnsense.sh - Fixed the domain parse regex
Extended the regex to skip the new transferkey and hmac sections of opnsense bind.
3 years ago
wacki4
aa9f5b8c4a
Update dns_opnsense.sh
Correction when having many zones.
3 years ago
wacki4
f485f3fdb5
Update dns_opnsense.sh
Update for opnsense regards to error in #3735
3 years ago
wacki4
00b6c6a437
Update dns_opnsense.sh
Correction when having many zones.
3 years ago
wacki4
21ef3b0ecf
Update dns_opnsense.sh
Update for opnsense regards to error in #3735
3 years ago
Jesai Langenbach
c49b40ee95
Allow old and new API response
CLOSES #2480
5 years ago
Wolfram Webers
08cc7587ab
- Adding fix for latest "os-bind" plugin
5 years ago
Jesai Langenbach
9cb328966c
typo
5 years ago
Jesai Langenbach
0c76890572
whitespace fix
5 years ago
Jesai Langenbach
18fc42e63b
typos and integrate suggestions from stilez
5 years ago
Jesai Langenbach
fc8d9df516
fix newline
5 years ago
Jesai Langenbach
afdf8a78c0
fix space
5 years ago
Jesai Langenbach
0b3ae1f972
Add suggestions
5 years ago
Jesai Langenbach
b85c1a8861
Fix additional line
5 years ago
Jesai Langenbach
430956d304
Fix whitespaces
5 years ago
Jesai Langenbach
c0449a3ed2
Only save Attributes if it is set
5 years ago
Jesai Langenbach
bfa6e52470
another whitespace
5 years ago
Jesai Langenbach
ec654d2355
More space removing
5 years ago
Jesai Langenbach
dfb4883c93
Some fixes
5 years ago
Jesai Langenbach
4bf1f579f5
Add OPNsense Bind API Support
5 years ago