Cobra Forum

Linux => New to Ubuntu => Topic started by: mahesh on Aug 14, 2023, 03:49 AM

Title: DNS cache and ports
Post by: mahesh on Aug 14, 2023, 03:49 AM
Hello everyone o/

I just came from Windows to Ubuntu, sorry if the questions are silly but I've tried reading apropos/man and wasn't able to grasp some stuff.

1 - DNS cache - How do I now if Ubuntu is using the OS cache or the browser cache? How do I list both? (I could not achieve it with host, dig, ip or resolvectl)

2 - Ports - Basically I would like to achieve what netstat achieves on Windows but on Ubuntu, i.e. list all ports, their protocol and current stat (Maybe with nc? I also couldn't understand its man page)