Global change of ip

Scott Haneda talklists at newgeo.com
Fri Oct 31 20:53:51 UTC 2008


Thanks. I'll start brushing up on sed. I was hoping there may be a set  
of command line tools already out there for these types of specific  
tasks. I suppose that is what all the nice front ends for named are  
for :)

--
Scott
Iphone says hello.

On Oct 31, 2008, at 1:46 PM, David Forrest <drf at maplepark.com> wrote:

> On Fri, 31 Oct 2008, Scott Haneda wrote:
>
>> I have an A record change that needs to happen across many zones. I
>> have the old ipand of course the new ip. Can someone help me with a
>> command to find and replace across multiple files please.
>>
>> I also will need to do a serial update as well, and that could be any
>> number and not cinsistant.
>>
>> I am using unix not windows.
>>
>> Thanks.
>>
>> --
>> Scott
>> Iphone says hello.
>>
>
> seems like an ideal situation for "sed" as it can be globally applied.
> There are a few things to watch out for; in some cases you will look  
> for a
> full IP and, in others, only a host IP, and the serial number could be
> applied only to changed files (using "find" for a recent change)  
> using the
> current date/time period as a key.  I don't see a problem using the
> standard YYYYMMDD## scheme. If you use some non-incremental system,
> remember that the serial number must be a higher (larger) number.
>
> David Forrest                  e-mail:   drf @ maplepark.com
> Maple Park Development Corporation  http://www.maplepark.com
> St. Louis, Missouri
>


More information about the bind-users mailing list