plesk tricks

supposed you needed to modify the dns information across all your existing domains. let’s say you want to add a nameserver that’ll be used by all your domains, you can do this:

for i in `cat /tmp/domains`;do ./dns -a $i -ns “” -nameserver ns100.domain.com;done

where:
/tmp/domains – list of your domains
ns100.domain.com – dns server to be added
fyi:
the “./dns” part refers to a php script located in plesk’s install folder, you can use it to modify dns entries for your domain/s.

This entry was posted in Uncategorized and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

Security Code:

This site uses Akismet to reduce spam. Learn how your comment data is processed.