I am using Xiaomi Router 3c & Router 4c, both of which only support IPv4 DNS. Cause when I entered the IPv6 one, it gave an error saying the DNS needs to of a value 255.255.255.255 max. The script is working perfectly fine. This is first time I used node.js, npm, etc. but surprisingly managed to do it in one go. Tried the output in two of my android devices and chrome browser using the dns over tls / https DNS and all are working fine.
I just couldn't manage to make it work in my router and windows 10 PC.
My ISP is using PPPoE connection type, which assigns random IP address to my network.
If someone can guide me how can I use this DNS with my router I'll be very grateful 🙏

I am using Xiaomi Router 3c & Router 4c, both of which only support IPv4 DNS. Cause when I entered the IPv6 one, it gave an error saying the DNS needs to of a value 255.255.255.255 max. The script is working perfectly fine. This is first time I used node.js, npm, etc. but surprisingly managed to do it in one go. Tried the output in two of my android devices and chrome browser using the dns over tls / https DNS and all are working fine.
I just couldn't manage to make it work in my router and windows 10 PC.
My ISP is using PPPoE connection type, which assigns random IP address to my network.
If someone can guide me how can I use this DNS with my router I'll be very grateful 🙏