I want that pihole will filter AAAA records, I want that pihole query responses will only have A records.
How to achieve that?
Is it ok to disable ipv6 support on pihole via sysctl
sysctl -w net.ipv6.conf.all.disable_ipv6=1
sysctl -w net.ipv6.conf.default.disable_ipv6=1
sysctl -w net.ipv6.conf.tun0.disable_ipv6=1
Doing so won't stop the queries. Devices will still be making them even if you have IPv6 disabled and they will still show up in the web interface and the logs if you have logging enabled.
But it will prevent the IPv6 address being provided in the response, if that is your aim.