I need a list of domains to use in a script for rebuilding a DNS server.
This did the job.
mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -Ns -e "select name from domains" > domains.txt
I need a list of domains to use in a script for rebuilding a DNS server.
This did the job.
mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa -Ns -e "select name from domains" > domains.txt
Copyright © 2024 | WordPress Theme by MH Themes
Leave a Reply