Virtual Nameservers

donkeyKICK

Verified User
Joined
Jul 24, 2007
Messages
389
I was wondering if there is a list of all the virtual nameservers on the system. I can't seem to find who is using them and who isn't.
 
Just a friendly bump, still wondering

I never really found out about this, I just let it go because I had other distractions.

Any idea's?
 
You mean like this?

Code:
cd /usr/local/directadmin/data/users
for i in *; do echo "$i's nameservers:";grep -i 'ns[12]=' $i/user.conf | cut -d = -f2; echo; done

Code:
cd /usr/local/directadmin/data/users
for i in *; do if [ -e "$i/reseller.conf" ]; then echo "$i's reseller nameservers:";grep -i 'ns[12]=' $i/reseller.conf | cut -d = -f2; echo; fi; done
 
Last edited:
Back
Top