How setup dnsmasq-base on host and container to correctly resolve host name inside container from host for LXC4 in Debian 11?

Hi all!
I have Debian 11 host and Oracle 8 LXC container

root@d11:/boot# uname -ar
Linux d11.localdomain 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 GNU/Linux

with LXC 4

mvg@d11:~$ apt list -i| grep lxc
liblxc1/stable,now 1:4.0.6-2+deb11u1 amd64 [installed,automatic]
lxc-templates/stable,now 3.0.4-5 amd64 [installed,automatic]
lxc/stable,now 1:4.0.6-2+deb11u1 amd64 [installed]
lxcfs/stable,now 4.0.7-1 amd64 [installed,automatic]

and dnsmask-base

mvg@d11:~$ apt list -i | grep dnsmasq
dnsmasq-base/stable,now 2.85-1 amd64 [installed,automatic]

with setting for host

mvg@d11:~$ cat /etc/hosts
127.0.0.1	localhost
::1		localhost ip6-localhost ip6-loopback
ff02::1		ip6-allnodes
ff02::2		ip6-allrouters
192.168.1.15	d11.localdomain d11

mvg@d11:~$ cat /etc/hostname
d11.localdomain

and next container setting

[root@ol8-19c mvg]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
10.0.3.15   ol8-19c.localdomain ol8-19c

[root@ol8-19c mvg]# cat /etc/hostname
ol8-19c.localdomain

When I ping from container to host by host IP all work fine

[root@ol8-19c mvg]# ping -c3 192.168.1.15
PING 192.168.1.15 (192.168.1.15) 56(84) bytes of data.
64 bytes from 192.168.1.15: icmp_seq=1 ttl=64 time=0.118 ms
64 bytes from 192.168.1.15: icmp_seq=2 ttl=64 time=0.072 ms
64 bytes from 192.168.1.15: icmp_seq=3 ttl=64 time=0.071 ms

but when I ping from container to host ping dropped

[root@ol8-19c mvg]# ping -c3 d11.localdomain d11
PING d11.localdomain (192.168.1.15) 56(124) bytes of data.
^C
--- d11.localdomain ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2043ms

Seems things I see when I ping container from host by IP and hostname

mvg@d11:~$ ping -c3 10.0.3.15
PING 10.0.3.15 (10.0.3.15) 56(84) bytes of data.
64 bytes from 10.0.3.15: icmp_seq=1 ttl=64 time=0.075 ms
64 bytes from 10.0.3.15: icmp_seq=2 ttl=64 time=0.058 ms
64 bytes from 10.0.3.15: icmp_seq=3 ttl=64 time=0.063 ms

mvg@d11:~$ ping ol8-19c.localdomain
ping: ol8-19c.localdomain: Name or service not known

Where and which files I must edit for correct names resolving between host and container?
Internet show a lot of information that does not match each other, I want to solve this problem by standard packages without installing additional packages.
Best Regards,
Vadim Maklakov.