Saturday, July 18, 2009

DNS FORWARDING

for a in 'grep theright /etc/trueuserowners | cut -d ':' -f1'; do for b in `grep $a /etc/userdomains | cut -d":" -f1`;do replace "66.7.213.144" "66.7.219.239" -- /var/named/$b.db ; done ; done;

To change the Ip from 66.7.213.144 to 66.7.219.239

No comments:

Post a Comment