<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Steinar,<div class=""><br class=""></div><div class="">Somebody just pointed out that the link you provided, is for the old 4.0 branch of the documentation, not the current 4.1 or the upcoming 4.2 releases.</div><div class=""><br class=""></div><div class="">The corresponding version of that lua script for the 4.0 branch would be <a href="https://github.com/PowerDNS/pdns/blob/rel/rec-4.0.x/pdns/powerdns-example-script.lua" class="">https://github.com/PowerDNS/pdns/blob/rel/rec-4.0.x/pdns/powerdns-example-script.lua</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: "Avenir Next"; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">Frank Louwers<br class="">PowerDNS Certified Consultant @ <a href="http://Kiwazo.be" class="">Kiwazo.be</a><br class=""><br class=""></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: "Avenir Next"; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline">
</div><div><br class=""><blockquote type="cite" class=""><div class="">On 11 Jun 2019, at 09:43, Frank Louwers <<a href="mailto:frank@louwers.be" class="">frank@louwers.be</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Steinar,<div class=""><br class=""></div><div class="">You are correct, that link points to the wrong url. The correct one is</div><div class=""><br class=""></div><div class=""><a href="https://github.com/PowerDNS/pdns/blob/master/pdns/recursordist/contrib/powerdns-example-script.lua" class="">https://github.com/PowerDNS/pdns/blob/master/pdns/recursordist/contrib/powerdns-example-script.lua</a></div><div class=""><br class=""></div><div class="">Kind Regards,</div><div class=""><br class=""></div><div class="">Frank</div><div class=""><br class=""></div><div class="">-- <br class=""><div class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="caret-color: rgb(0, 0, 0); font-family: "Avenir Next"; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">Frank Louwers<br class="">PowerDNS Certified Consultant @ <a href="http://kiwazo.be/" class="">Kiwazo.be</a><br class=""><br class=""></div><div style="caret-color: rgb(0, 0, 0); font-family: "Avenir Next"; font-size: 13px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br class=""></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline">
</div><div class=""><br class=""><blockquote type="cite" class=""><div class="">On 10 Jun 2019, at 09:41, <a href="mailto:sthaug@nethelp.no" class="">sthaug@nethelp.no</a> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">In the PowerDS recursor documentation at<br class=""><br class=""><a href="https://doc.powerdns.com/md/recursor/scripting/#writing-lua-powerdns-recursor-scripts" class="">https://doc.powerdns.com/md/recursor/scripting/#writing-lua-powerdns-recursor-scripts</a><br class=""><br class="">the link to "a sample script that showcases all functionality<br class="">described below":<br class=""><br class=""><a href="https://github.com/PowerDNS/pdns/blob/master/pdns/powerdns-example-script.lua" class="">https://github.com/PowerDNS/pdns/blob/master/pdns/powerdns-example-script.lua</a><br class=""><br class="">gives me a 404 error.<br class=""><br class="">Steinar Haug, AS2116<br class="">_______________________________________________<br class="">Pdns-users mailing list<br class=""><a href="mailto:Pdns-users@mailman.powerdns.com" class="">Pdns-users@mailman.powerdns.com</a><br class=""><a href="https://mailman.powerdns.com/mailman/listinfo/pdns-users" class="">https://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br class=""></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div><div class=""></div></body></html>