• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question Check if all domains resolve to server

anli

New Pleskian
Hi *,
as time goes by our servers get older and customers come and go. Sometimes the domains are deleted from the server, sometimes this is forgotten. Is there an easy (batch) way to check which domains resolve to the server and which don't?
Have a great weekend!
 
Also looking for a solution for this. Does anyone have any ideas?

There's a similar post with a solution of
Code:
# for i in `mysql -uadmin -p\`cat /etc/psa/.psa.shadow\` psa -Ns -e "select name from domains"`; do dig $i A +nostats; done

But that's for a linux box, any ideas for Windows?

I can retrieve a list of domains easy enough from Plesk DB but it's the resolving to the server IP (or array of IP's if multiple) that I'd like to know.
 
Back
Top