<div dir="ltr">Hi,<div><br></div><div>just installed pdns-recursor MASTER BRACH  in centos6 x64</div><div><pre style="overflow:auto;font-family:Menlo,Monaco,Consolas,'Courier New',monospace;font-size:13px;padding:9.5px;margin-top:0px;margin-bottom:10px;line-height:1.42857;color:rgb(51,51,51);word-wrap:break-word;border:1px solid rgb(204,204,204);border-radius:4px;background-color:rgb(245,245,245)">yum install epel-release yum-plugin-priorities &&
curl -o /etc/yum.repos.d/powerdns-rec-master.repo <a href="https://repo.powerdns.com/repo-files/centos-rec-master.repo">https://repo.powerdns.com/repo-files/centos-rec-master.repo</a> &&
yum install pdns-recursor</pre></div><div><br></div><div><br></div><div>pdns-recursor -v</div><div><div>Feb 19 10:00:31 PowerDNS Recursor 4.0.0-alpha1 (C) 2001-2015 PowerDNS.COM BV</div><div>Feb 19 10:00:31 Using 64-bits mode. Built using gcc 4.8.2 20140120 (Red Hat 4.8.2-15) on Dec 24 2015 15:19:30 by buildbot@67a4db75e0e1.</div><div>Feb 19 10:00:31 PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2.</div><div>Feb 19 10:00:31 Features: lua</div><div>Feb 19 10:00:31 Built-in mbed TLS: 2.1.0</div></div><div><br></div><div>installed and working</div><div><br></div><div>I activate  a lua script but have a error in log </div><div>log => Failed to load 'lua' script from '/etc/pdns-recursor/script.lua': [string "chunk"]:15: attempt to call global 'getMetric' (a nil value)<br></div><div><br></div><div>this line is getting the error in the script</div><div><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre">magicMetric </span><span class="" style="color:rgb(167,29,93);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre">=</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre"> </span><span class="" style="color:rgb(0,134,179);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre">getMetric</span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre">(</span><span class="" style="color:rgb(24,54,145);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre"><span class="">"</span>magic<span class="">"</span></span><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre">)</span><br></div><div><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre"><br></span></div><div><span style="color:rgb(51,51,51);font-family:Consolas,'Liberation Mono',Menlo,Courier,monospace;font-size:12px;line-height:16.8px;white-space:pre">I  review the sources and the function 'getMetric' is not implemented in this version.</span></div><div><br></div><div><font color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="font-size:12px;line-height:16.8px;white-space:pre">Apreciate some help in this issue</span></font></div><div><font color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="font-size:12px;line-height:16.8px;white-space:pre"><br></span></font></div><div><font color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="font-size:12px;line-height:16.8px;white-space:pre">thanks in advance</span></font></div><div><br></div><div><font color="#333333" face="Consolas, Liberation Mono, Menlo, Courier, monospace"><span style="font-size:12px;line-height:16.8px;white-space:pre">Gustavo</span></font></div><div><br></div></div>