Can someone share steps/point me to a guide to identify a process on my debian system that is calling a specific domain? I have a raspberry running since a few years and did an upgrade of a domain name. So instead of calling “old.home.lab” it’s now at “new.home.lab” how could I look out for “old.home.lab” calls? I tried a few utilities but couldn’t get to the point where I would be able to monitor the domain, only IPs.

I have found out about my home lab calling it by looking at the nextDNS logs.

Thanks in advance!