Created attachment 202406 [details]
replace tabs by space
In resolv.conf keyword "nameserver" and its value (IP address) can be separated by spaces or tabs but local-unbound-setup accepts only spaces resulting in:
No forwarders found in resolv.conf, using existing forward.conf.
I am not so good in shellscripting so I fixed it by this line
local line=$(echo $line | sed -E 's/ / /g')
I don't know how to write it as parameter expansion instead of calling sed in a subshell.