본문 바로가기

리눅스

[리눅스] named(bind) zone file ip change scripte

728x90

named(bind) zone file ip change scripte

vim ipswap.sh
#!/bin/bash

for files in `ls /var/named/aa04`
do
	sed "s/10.0.10.124/192.168.0.20/g" $files > /tmp/named/aa04/$files
done
728x90