I can't even watch TV because I can't connect to the internet

Hello friends. I have not been able to solve my internet connection for the last 2 days, that is, every time I try to connect to the Internet, the DNS server not responding, the error is showing. This is why I’m having so much trouble. Guys, I don’t know why this is happening and how to fix this issue. Please help me to solve the problem. Any help will be appreciated.

What device(s) are you using for playback (i.e. Roku, FireTV, Apple TV, etc.)?

Thanks for replying. I am currently using Fire TV. But my problem is a little different. I have already solved my problem, just applied a process mentioned here. I have solved my problem by command prompt and following the commands.

ipconfig / flushdns

ipconfig / registerdns

ipconfig / release

ipconfig / renew

Are you using a Windows system for you internet gateway?