• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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