Long delay in DNS resolution

Hi folks,

I’ve been experiencing a > 5 second delay when opening any website (as seen in chrome console).
I ran all the commands from Dns resolving very slow - #5 by zeec123 but don’t know what is the issue here.

> time ping -c 1 youtube.com
PING youtube.com (142.250.195.238) 56(84) bytes of data.
64 bytes from maa03s43-in-f14.1e100.net (142.250.195.238): icmp_seq=1 ttl=117 time=10.7 ms

--- youtube.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 10.747/10.747/10.747/0.000 ms

________________________________________________________
Executed in   20.05 secs      fish           external
   usr time    5.74 millis  425.00 micros    5.31 millis
   sys time    2.31 millis  184.00 micros    2.12 millis


> cat /etc/resolv.conf
# Generated by resolvconf
domain Home
nameserver 192.168.1.1
options edns0

> grep ^hosts /etc/nsswitch.conf
hosts:     mymachines files myhostname dns

> dig +qr @192.168.1.1 A youtube.com

; <<>> DiG 9.16.16 <<>> +qr @192.168.1.1 A youtube.com
; (1 server found)
;; global options: +cmd
;; Sending:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64006
;; flags: rd ad; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 239c922a720645d9
;; QUESTION SECTION:
;youtube.com.			IN	A

;; QUERY SIZE: 52

;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64006
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;youtube.com.			IN	A

;; ANSWER SECTION:
youtube.com.		224	IN	A	172.217.163.174

;; Query time: 5 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Thu Oct 21 16:45:54 IST 2021
;; MSG SIZE  rcvd: 56


> dig +qr @8.8.8.8 A youtube.com

; <<>> DiG 9.16.16 <<>> +qr @8.8.8.8 A youtube.com
; (1 server found)
;; global options: +cmd
;; Sending:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43660
;; flags: rd ad; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 7c3db82d288b1724
;; QUESTION SECTION:
;youtube.com.			IN	A

;; QUERY SIZE: 52

;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43660
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;youtube.com.			IN	A

;; ANSWER SECTION:
youtube.com.		300	IN	A	142.250.195.206

;; Query time: 146 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Thu Oct 21 16:46:26 IST 2021
;; MSG SIZE  rcvd: 56

> time getent hosts youtube.com
172.217.163.174 youtube.com

real	0m25.042s
user	0m0.001s
sys	0m0.003s

> dig +qr @1.1.1.1 A youtube.com

; <<>> DiG 9.16.16 <<>> +qr @1.1.1.1 A youtube.com
; (1 server found)
;; global options: +cmd
;; Sending:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 386
;; flags: rd ad; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: 7783f8240da19851
;; QUESTION SECTION:
;youtube.com.			IN	A

;; QUERY SIZE: 52

;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 386
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;youtube.com.			IN	A

;; ANSWER SECTION:
youtube.com.		278	IN	A	142.250.196.174

;; Query time: 7 msec
;; SERVER: 1.1.1.1#53(1.1.1.1)
;; WHEN: Thu Oct 21 16:51:10 IST 2021
;; MSG SIZE  rcvd: 56