• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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