• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

How to identify the current DNS server in Plesk for windows?

Mansoor

New Pleskian
I'm creating a script that will dump the DNS zones in a windows server 2008 running plesk 12. Since windows can have either Microsoft DNS or BIND as the DNS server, they both have different methods to dump the zone files. Is there any reliable way to identify the current DNS server being used from the command line.
Here are the option i have now
1. Check the running process name to check if BIND or MS DNS - Not the best method

Any valuable suggestion will be greatly appreciated. Thank you.
 
You can only have 1 DNS server running at one time (although you can install multiple DNS servers, Plesk will only allow 1 to be running at any 1 time). If you want to check to see which one is running via command prompt then just need to issue:

sv query dns
and
sv query named

(dns is the service for Microsoft DNS while named is the service for BIND)

Look at the state for each, if the state is showing STOPPED then that service is not running, if the service is showing RUNNING then that's the one that's running. You can see an example with the attached screen shot.

If you want to check/switch DNS servers, log into your control panel and navigate to Tools & Settings > Server Components > DNS Server and simply change the DNS server to which one you'd like to use (in fact, under Server Components, the service light up in green is the service that's being used as well without having to remote into your server).

Hope this helps you.
 

Attachments

  • Capture.PNG
    Capture.PNG
    49.2 KB · Views: 6
Back
Top