1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

CLI tool to list sites with IP addresses?

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by Hostasaurus.Com, Oct 26, 2010.

  1. Hostasaurus.Com

    Hostasaurus.Com Regular Pleskian

    30
    68%
    Joined:
    Oct 8, 2009
    Messages:
    465
    Likes Received:
    8
    Is there a command line tool to print out each domain and what IP address it's assigned to? Haven't had any luck finding one.
     
  2. IgorG

    IgorG Forums Analyst Staff Member

    49
    24%
    Joined:
    Oct 27, 2009
    Messages:
    24,572
    Likes Received:
    1,243
    Location:
    Novosibirsk, Russia
    For particular domain you can do it with something like

    Also you can try to write sql query for extracting this information from psa database.
     
Loading...