[Pdns-users] How to update IP address of records

Larry Wapnitsky larry at wapnitsky.com
Mon Mar 22 22:27:47 UTC 2021


Are you storing the records in a database? If so, a select and replace
would work

On Mon, Mar 22, 2021, 17:43 Chhavi Mittal via Pdns-users <
pdns-users at mailman.powerdns.com> wrote:

> Hello,
>
> I am new to powerdns and trying to set it up based on my requirements. One
> issue that I am facing is how to update an IP address for all my records?
> For example, if I have 10K records that are pointing to one host/IP address
> but that host goes down and I want to update to a new host ip address, do I
> have to update all 10K records?
> Or is there a better way to set this up? Maybe I can add 'cname' to all
> these 10K records and that 'cname' could somehow resolve to an IP address
> so essentially when I run the 'dig' command the end result would be the new
> IP address.
> Also is there a powerdns supported plugin that can be written for this to
> make updates simpler?
>
> Best,
> Chhavi
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20210322/b95249b2/attachment.htm>


More information about the Pdns-users mailing list