If you want to delete line containing the string "ns1.<domain_name>.com" from all *.db extention in the server.
Change directory by,
# cd /var/named/
Run the command below,
# sed -i '/ns1.<domain_name>.com./d' *.dbNote: The above commamd will delete the line specified by the string "ns1.<domain_name>.com " from all *.db files in the server .
No comments:
Post a Comment