I went to advanced section of wifi menu on my android phone. There it states all details such as IP address, DNS and MAC address. Got the dns from there.
Wifi is configured to use dhcp and not static. Is it possible that my phone (Oneplus 7t) uses hard coded dns servers?
Is there a configuration where I can check if pi hole is using a secondary dns?
My phone should not be on previous dhcp lease as I have disconnected and reconnected to wifi multiple times after making my pi hole as dhcp server.
Also, dig pi-hole.net was done on the raspberry pi itself where pi hole is installed. So 8.8.8.8 as dns server is seen on my phone and also on the rpi.