[ Linux - BSD ] Modifying DNS Zones from Old IP to new IP

This an short tutorial with using command 'replace' to modify your DNS files zones from OLD IP to NEW IP


DESCRIPTION
       The replace utility program changes strings in place in files or on the standard input.

       Invoke replace in one of the following ways:

          shell> replace from to [from to] ... -- file [file] ...
          shell> replace from to [from to] ... < file


Requirement :-
Must be logged as root

[root@host named]# cd /var/named
[root@host named]# replace "replace from old ip" "to new ip" -- *.db

Piece of cake method, but very helpful

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

DNS Recursive Queries [named / bind ] configuration

This tutorial to make your DNS Recursive queries GOODThis method tested under Linux &...