Hi,
I'm trying to make a change inside all DNS zones, The mail record is "mail.domain.com" And I want to change to be "mail.dnszonename.com"
Where dnszonename is true domain name for each domain on server.
I wrote this command:-
for i in `cat /etc/trueuserdomains | cut -d: -f1`; do replace "admin.domain.com" "admin.$i" -- $i.db; done;
But when I ran this, Records changed to be first domain records in "/etc/trueuserdomains"
Could anyone help me to get the correct command to change this record for all DNS zones?
Regards
Zoahir
I'm trying to make a change inside all DNS zones, The mail record is "mail.domain.com" And I want to change to be "mail.dnszonename.com"
Where dnszonename is true domain name for each domain on server.
I wrote this command:-
for i in `cat /etc/trueuserdomains | cut -d: -f1`; do replace "admin.domain.com" "admin.$i" -- $i.db; done;
But when I ran this, Records changed to be first domain records in "/etc/trueuserdomains"
Could anyone help me to get the correct command to change this record for all DNS zones?
Regards
Zoahir