Re: [Pdns-users] nxdomain() prepending, not replacing

2012-05-21 Thread Peter van Dijk
Hello Ben, On May 21, 2012, at 20:42 , Ben C. wrote: > $ host broken.example.com my.dns.server.com > Using domain server: > Name: my.dns.server.com > Address: my.dns.server.com #53 > Aliases: > > broken.example.com has address 5.6.7.8 > broken.example.com has address 1.2.3.4 > Host broken.examp

[Pdns-users] nxdomain() prepending, not replacing

2012-05-21 Thread Ben C.
I'm not sure if I'm doing something incorrectly, or I broke something.. or.. ? I'm running debian wheezy, freshly upgraded, and have this in my lua script: function nxdomain (ip,domain,query_type) ips={} if query_type ~= pdns.A then return -1, ret end ips[1]={ query_type=pdns.A, content="1.2.3.4"