You made may day. I was was searching aroud and finally got the solution with this "tick" for the "Override local DNS." After switching on (what is not obvious for me) and adding local domain name, holding pi-hole DNS, to local name (ex: local_name.domain) everything is working as expected.
Thank you!