Internet error

hi
i am using dns over https in my firefox browser and from few days i am getting error internet not working when i am browsing web or watching youtube and i have to restart firefox
something wrong with my browser or dns server
here is link from 1.1.1.1 help

and most of the time i get no link from cloudflare dns help i only get this information

Connected to 1.1.1.1 Yes
Using DNS over HTTPS (DoH) Yes
Using DNS over TLS (DoT) No
AS Name :x: Unable to check…
AS Number Checking…
Cloudflare Data Center LHE

Connectivity to Resolver IP Addresses

1.1.1.1 Yes
1.0.0.1 Yes
2606:4700:4700::1111 No
2606:4700:4700::1001 No

here is the error i am getting on youtube

Hmm. We’re having trouble finding that site.

We can’t connect to the server at www.youtube.com.

If that address is correct, here are three other things you can try:

Try again later.
Check your network connection.
If you are connected but behind a firewall, check that Firefox has permission to access the Web.

i am able to ping 1.1.1.1 and 1.0.0.1 perfectly fine

ping 1.1.1.1

Pinging 1.1.1.1 with 32 bytes of data:
Reply from 1.1.1.1: bytes=32 time=22ms TTL=56
Reply from 1.1.1.1: bytes=32 time=22ms TTL=56
Reply from 1.1.1.1: bytes=32 time=22ms TTL=56
Reply from 1.1.1.1: bytes=32 time=22ms TTL=56

Ping statistics for 1.1.1.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 22ms, Maximum = 22ms, Average = 22ms

ping 1.0.0.1

Pinging 1.0.0.1 with 32 bytes of data:
Reply from 1.0.0.1: bytes=32 time=23ms TTL=56
Reply from 1.0.0.1: bytes=32 time=22ms TTL=56
Reply from 1.0.0.1: bytes=32 time=23ms TTL=56
Reply from 1.0.0.1: bytes=32 time=22ms TTL=56

Ping statistics for 1.0.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 22ms, Maximum = 23ms, Average = 22ms