It even works on my Ubuntu 8.04 platform. I'm in heaven.
I am struggling with echo'ing "IP for scallyroottest.com is" +"at"
from this command:
host -t ns example.com | while read dom ns server; do dig +short $dom; done but managed this poor example of a coding attempt using the example:
host -t ns example.com | while read dom ns server ; do echo "IP for" $dom "is" "<IP>" "at"; done
but it's still missing the do dig routine.
Not sure if/how it can be done. Can you have >1 do ; done routine?
Short of any clear answers, I am on my way to some serious homework.
Thanks everyone who pitched in with support....