If systemd-resolve's stub DNS resolver is used (which I believe is the case) then "resolve" directive is optional as DNS requests are routed to this stub resolver (per the "standard" nss-dns directive) which acts according to systemd-resolve's logic. I just wrote the above in the following comment – https://unix.stackexchange.com/questions/442598/how-to-configure-systemd-resolved-and-systemd-networkd-to-use-local-dns-server-f#comment1014165_516236
If systemd-resolve's stub DNS resolver is used (which I believe is the case) then "resolve" directive is optional as DNS requests are routed to this stub resolver (per the "standard" nss-dns directive) which acts according to systemd-resolve's logic. I just wrote the above in the following comment – https:/ /unix.stackexch ange.com/ questions/ 442598/ how-to- configure- systemd- resolved- and-systemd- networkd- to-use- local-dns- server- f#comment101416 5_516236