How to update IP address of records

Chhavi Mittal via Pdns-dev <[email protected]> Mon, 22 Mar 2021 14:42:26 -0700
Newsgroups gmane.network.dns.powerdns.devel
Message-ID <CAOy0CCENXzPOhEfL0mw6RH2ghYRuYoSj7mp2yEnr=b0KNDbVNg@mail.gmail.com>
--===============3936482636240585622==
Content-Type: multipart/alternative; boundary="00000000000038460805be26f3a0"

--00000000000038460805be26f3a0
Content-Type: text/plain; charset="UTF-8"

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

--00000000000038460805be26f3a0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello,<input name=3D"virtru-metadata" type=3D"hidden" valu=
e=3D"{&quot;email-policy&quot;:{&quot;state&quot;:&quot;closed&quot;,&quot;=
expirationUnit&quot;:&quot;days&quot;,&quot;disableCopyPaste&quot;:false,&q=
uot;disablePrint&quot;:false,&quot;disableForwarding&quot;:false,&quot;enab=
leNoauth&quot;:false,&quot;persistentProtection&quot;:false,&quot;expandedW=
atermarking&quot;:false,&quot;expires&quot;:false,&quot;isManaged&quot;:fal=
se},&quot;attachments&quot;:{},&quot;compose-id&quot;:&quot;10&quot;,&quot;=
compose-window&quot;:{&quot;secure&quot;:false}}"><div><br></div><div>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 ex=
ample, if I have 10K records that are pointing to one host/IP address but t=
hat host goes down and I want to update to a new host ip address, do I have=
 to update all 10K records?<br>Or is there a better way to set this up? May=
be I can add &#39;cname&#39; to all these 10K records and that &#39;cname&#=
39; could somehow resolve to an IP address so essentially when I run the &#=
39;dig&#39; command the end result would be the new IP address.</div><div>A=
lso is there a powerdns supported plugin that can be written for this to ma=
ke updates simpler?</div><div><br></div><div>Best,</div><div>Chhavi</div></=
div>

--00000000000038460805be26f3a0--

--===============3936482636240585622==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Pdns-dev mailing list
[email protected]
https://mailman.powerdns.com/mailman/listinfo/pdns-dev

--===============3936482636240585622==--