Linux Conquering Cloud
Learn .. Conquer .. Share
Pages
Home
Friday, March 22, 2013
Script to change the name servers server wide .
ll /var/named/ |awk -F " " '{print$9}'|grep .db > account
for i in "$(cat account)"; do sed -i -e "s/ns1.privatedns.com/ns3.flashattractions.com/g" ;done
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment