From: Peter van Dijk Date: Mon, 30 Jul 2012 05:09:57 +0000 (+0000) Subject: Minor luabackend README fixes. Triggered by a suggestion from Leen Besselink. X-Git-Tag: auth-3.2-rc1~196 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=746daf811142df0958ab2facf502e94b09923267;p=thirdparty%2Fpdns.git Minor luabackend README fixes. Triggered by a suggestion from Leen Besselink. git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2686 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/modules/luabackend/README b/modules/luabackend/README index 20908e09f9..30e5f7e945 100644 --- a/modules/luabackend/README +++ b/modules/luabackend/README @@ -15,13 +15,13 @@ backend completely in Lua! Which database server to use etc is now up to you! What you have here is the possibility to make your own "dns-server" without the knowledge of programming in c/c++. -There is one thing that needs to be sad. Remember that each thread -PowerDNS launch of this backend is completely different so they cannot +There is one thing that needs to be said. Remember that each thread +PowerDNS launches of this backend is completely different so they cannot share information between each other! You will need some kind of a database that can be shared for this. -All the functionsname that PowerDNS except for a backend should be the same +All the functionnames that PowerDNS accept for a backend should be the same in your Lua script, in lowercase. Also, the parameters should be in the same order. Where there is a structure in c/c++ there is a table in the Lua backend. This is also true for return values. A few functions expect that you return a