{"action":"created","comment":{"url":"https://api.github.com/repos/PowerDNS/pdns/pulls/comments/85559753","pull_request_review_id":6271103,"id":85559753,"diff_hunk":"@@ -99,6 +99,7 @@ The DNSQuestion object contains at least the following fields:\n     * policyCustom: The CNAME content for the `pdns.policyactions.Custom` response, a string\n     * policyTTL: The TTL in seconds for the `pdns.policyactions.Custom` response\n * wantsRPZ - A boolean that indicates the use of the Policy Engine, can be set to `false` in `preresolve` to disable RPZ for this query\n+* data - a table that is persistent throughout the lifetime of the `dq` object and can be used to store custom context.","path":"docs/markdown/recursor/scripting.md","position":4,"original_position":4,"commit_id":"cba96aa331d6d24a25152e1d03b1b53293d5ea89","original_commit_id":"cba96aa331d6d24a25152e1d03b1b53293d5ea89","user":{"login":"elad","id":3621643,"avatar_url":"https://avatars.githubusercontent.com/u/3621643?v=3","gravatar_id":"","url":"https://api.github.com/users/elad","html_url":"https://github.com/elad","followers_url":"https://api.github.com/users/elad/followers","following_url":"https://api.github.com/users/elad/following{/other_user}","gists_url":"https://api.github.com/users/elad/gists{/gist_id}","starred_url":"https://api.github.com/users/elad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elad/subscriptions","organizations_url":"https://api.github.com/users/elad/orgs","repos_url":"https://api.github.com/users/elad/repos","events_url":"https://api.github.com/users/elad/events{/privacy}","received_events_url":"https://api.github.com/users/elad/received_events","type":"User","site_admin":false},"body":"I'm using to calling it \"context\" but I guess it may conflict with the \"Lua context\" - so I'll change to \"content\" (or maybe just \"custom data\"?)","created_at":"2016-10-28T15:59:42Z","updated_at":"2016-10-28T15:59:42Z","html_url":"https://github.com/PowerDNS/pdns/pull/4648#discussion_r85559753","pull_request_url":"https://api.github.com/repos/PowerDNS/pdns/pulls/4648","_links":{"self":{"href":"https://api.github.com/repos/PowerDNS/pdns/pulls/comments/85559753"},"html":{"href":"https://github.com/PowerDNS/pdns/pull/4648#discussion_r85559753"},"pull_request":{"href":"https://api.github.com/repos/PowerDNS/pdns/pulls/4648"}}},"pull_request":{"url":"https://api.github.com/repos/PowerDNS/pdns/pulls/4648","id":91406999,"html_url":"https://github.com/PowerDNS/pdns/pull/4648","diff_url":"https://github.com/PowerDNS/pdns/pull/4648.diff","patch_url":"https://github.com/PowerDNS/pdns/pull/4648.patch","issue_url":"https://api.github.com/repos/PowerDNS/pdns/issues/4648","number":4648,"state":"open","locked":false,"title":"Document dq.data (from @Habbie)","user":{"login":"elad","id":3621643,"avatar_url":"https://avatars.githubusercontent.com/u/3621643?v=3","gravatar_id":"","url":"https://api.github.com/users/elad","html_url":"https://github.com/elad","followers_url":"https://api.github.com/users/elad/followers","following_url":"https://api.github.com/users/elad/following{/other_user}","gists_url":"https://api.github.com/users/elad/gists{/gist_id}","starred_url":"https://api.github.com/users/elad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elad/subscriptions","organizations_url":"https://api.github.com/users/elad/orgs","repos_url":"https://api.github.com/users/elad/repos","events_url":"https://api.github.com/users/elad/events{/privacy}","received_events_url":"https://api.github.com/users/elad/received_events","type":"User","site_admin":false},"body":"### Short description\r\nDocument `dq.data` - a table that is persistent across the lifetime of the `dq` object and can be used to store custom context.\r\n\r\n### Checklist\r\nI have:\r\n- [x] read the [CONTRIBUTING.md](https://github.com/PowerDNS/pdns/blob/master/CONTRIBUTING.md) document\r\n- [x] compiled and tested this code\r\n- [x] included documentation (including possible behaviour changes)\r\n- [ ] documented the code\r\n- [ ] added regression tests\r\n- [ ] added unit tests\r\n- [ ] checked that this code was merged to master\r\n\r\n","created_at":"2016-10-28T15:57:46Z","updated_at":"2016-10-28T15:59:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9c8044a0e49eae16b0d0897d50b9734b52e616f9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/PowerDNS/pdns/pulls/4648/commits","review_comments_url":"https://api.github.com/repos/PowerDNS/pdns/pulls/4648/comments","review_comment_url":"https://api.github.com/repos/PowerDNS/pdns/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PowerDNS/pdns/issues/4648/comments","statuses_url":"https://api.github.com/repos/PowerDNS/pdns/statuses/cba96aa331d6d24a25152e1d03b1b53293d5ea89","head":{"label":"elad:master","ref":"master","sha":"cba96aa331d6d24a25152e1d03b1b53293d5ea89","user":{"login":"elad","id":3621643,"avatar_url":"https://avatars.githubusercontent.com/u/3621643?v=3","gravatar_id":"","url":"https://api.github.com/users/elad","html_url":"https://github.com/elad","followers_url":"https://api.github.com/users/elad/followers","following_url":"https://api.github.com/users/elad/following{/other_user}","gists_url":"https://api.github.com/users/elad/gists{/gist_id}","starred_url":"https://api.github.com/users/elad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elad/subscriptions","organizations_url":"https://api.github.com/users/elad/orgs","repos_url":"https://api.github.com/users/elad/repos","events_url":"https://api.github.com/users/elad/events{/privacy}","received_events_url":"https://api.github.com/users/elad/received_events","type":"User","site_admin":false},"repo":{"id":72221005,"name":"pdns","full_name":"elad/pdns","owner":{"login":"elad","id":3621643,"avatar_url":"https://avatars.githubusercontent.com/u/3621643?v=3","gravatar_id":"","url":"https://api.github.com/users/elad","html_url":"https://github.com/elad","followers_url":"https://api.github.com/users/elad/followers","following_url":"https://api.github.com/users/elad/following{/other_user}","gists_url":"https://api.github.com/users/elad/gists{/gist_id}","starred_url":"https://api.github.com/users/elad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elad/subscriptions","organizations_url":"https://api.github.com/users/elad/orgs","repos_url":"https://api.github.com/users/elad/repos","events_url":"https://api.github.com/users/elad/events{/privacy}","received_events_url":"https://api.github.com/users/elad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elad/pdns","description":"PowerDNS","fork":true,"url":"https://api.github.com/repos/elad/pdns","forks_url":"https://api.github.com/repos/elad/pdns/forks","keys_url":"https://api.github.com/repos/elad/pdns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elad/pdns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elad/pdns/teams","hooks_url":"https://api.github.com/repos/elad/pdns/hooks","issue_events_url":"https://api.github.com/repos/elad/pdns/issues/events{/number}","events_url":"https://api.github.com/repos/elad/pdns/events","assignees_url":"https://api.github.com/repos/elad/pdns/assignees{/user}","branches_url":"https://api.github.com/repos/elad/pdns/branches{/branch}","tags_url":"https://api.github.com/repos/elad/pdns/tags","blobs_url":"https://api.github.com/repos/elad/pdns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elad/pdns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elad/pdns/git/refs{/sha}","trees_url":"https://api.github.com/repos/elad/pdns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elad/pdns/statuses/{sha}","languages_url":"https://api.github.com/repos/elad/pdns/languages","stargazers_url":"https://api.github.com/repos/elad/pdns/stargazers","contributors_url":"https://api.github.com/repos/elad/pdns/contributors","subscribers_url":"https://api.github.com/repos/elad/pdns/subscribers","subscription_url":"https://api.github.com/repos/elad/pdns/subscription","commits_url":"https://api.github.com/repos/elad/pdns/commits{/sha}","git_commits_url":"https://api.github.com/repos/elad/pdns/git/commits{/sha}","comments_url":"https://api.github.com/repos/elad/pdns/comments{/number}","issue_comment_url":"https://api.github.com/repos/elad/pdns/issues/comments{/number}","contents_url":"https://api.github.com/repos/elad/pdns/contents/{+path}","compare_url":"https://api.github.com/repos/elad/pdns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elad/pdns/merges","archive_url":"https://api.github.com/repos/elad/pdns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elad/pdns/downloads","issues_url":"https://api.github.com/repos/elad/pdns/issues{/number}","pulls_url":"https://api.github.com/repos/elad/pdns/pulls{/number}","milestones_url":"https://api.github.com/repos/elad/pdns/milestones{/number}","notifications_url":"https://api.github.com/repos/elad/pdns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elad/pdns/labels{/name}","releases_url":"https://api.github.com/repos/elad/pdns/releases{/id}","deployments_url":"https://api.github.com/repos/elad/pdns/deployments","created_at":"2016-10-28T15:49:29Z","updated_at":"2016-10-28T15:49:34Z","pushed_at":"2016-10-28T15:53:10Z","git_url":"git://github.com/elad/pdns.git","ssh_url":"git@github.com:elad/pdns.git","clone_url":"https://github.com/elad/pdns.git","svn_url":"https://github.com/elad/pdns","homepage":null,"size":42702,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PowerDNS:master","ref":"master","sha":"44cf6843b929ea3de1a2e17d6b4d17ee7ba7651e","user":{"login":"PowerDNS","id":1282630,"avatar_url":"https://avatars.githubusercontent.com/u/1282630?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerDNS","html_url":"https://github.com/PowerDNS","followers_url":"https://api.github.com/users/PowerDNS/followers","following_url":"https://api.github.com/users/PowerDNS/following{/other_user}","gists_url":"https://api.github.com/users/PowerDNS/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerDNS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerDNS/subscriptions","organizations_url":"https://api.github.com/users/PowerDNS/orgs","repos_url":"https://api.github.com/users/PowerDNS/repos","events_url":"https://api.github.com/users/PowerDNS/events{/privacy}","received_events_url":"https://api.github.com/users/PowerDNS/received_events","type":"Organization","site_admin":false},"repo":{"id":9693534,"name":"pdns","full_name":"PowerDNS/pdns","owner":{"login":"PowerDNS","id":1282630,"avatar_url":"https://avatars.githubusercontent.com/u/1282630?v=3","gravatar_id":"","url":"https://api.github.com/users/PowerDNS","html_url":"https://github.com/PowerDNS","followers_url":"https://api.github.com/users/PowerDNS/followers","following_url":"https://api.github.com/users/PowerDNS/following{/other_user}","gists_url":"https://api.github.com/users/PowerDNS/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerDNS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerDNS/subscriptions","organizations_url":"https://api.github.com/users/PowerDNS/orgs","repos_url":"https://api.github.com/users/PowerDNS/repos","events_url":"https://api.github.com/users/PowerDNS/events{/privacy}","received_events_url":"https://api.github.com/users/PowerDNS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PowerDNS/pdns","description":"PowerDNS","fork":false,"url":"https://api.github.com/repos/PowerDNS/pdns","forks_url":"https://api.github.com/repos/PowerDNS/pdns/forks","keys_url":"https://api.github.com/repos/PowerDNS/pdns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PowerDNS/pdns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PowerDNS/pdns/teams","hooks_url":"https://api.github.com/repos/PowerDNS/pdns/hooks","issue_events_url":"https://api.github.com/repos/PowerDNS/pdns/issues/events{/number}","events_url":"https://api.github.com/repos/PowerDNS/pdns/events","assignees_url":"https://api.github.com/repos/PowerDNS/pdns/assignees{/user}","branches_url":"https://api.github.com/repos/PowerDNS/pdns/branches{/branch}","tags_url":"https://api.github.com/repos/PowerDNS/pdns/tags","blobs_url":"https://api.github.com/repos/PowerDNS/pdns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PowerDNS/pdns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PowerDNS/pdns/git/refs{/sha}","trees_url":"https://api.github.com/repos/PowerDNS/pdns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PowerDNS/pdns/statuses/{sha}","languages_url":"https://api.github.com/repos/PowerDNS/pdns/languages","stargazers_url":"https://api.github.com/repos/PowerDNS/pdns/stargazers","contributors_url":"https://api.github.com/repos/PowerDNS/pdns/contributors","subscribers_url":"https://api.github.com/repos/PowerDNS/pdns/subscribers","subscription_url":"https://api.github.com/repos/PowerDNS/pdns/subscription","commits_url":"https://api.github.com/repos/PowerDNS/pdns/commits{/sha}","git_commits_url":"https://api.github.com/repos/PowerDNS/pdns/git/commits{/sha}","comments_url":"https://api.github.com/repos/PowerDNS/pdns/comments{/number}","issue_comment_url":"https://api.github.com/repos/PowerDNS/pdns/issues/comments{/number}","contents_url":"https://api.github.com/repos/PowerDNS/pdns/contents/{+path}","compare_url":"https://api.github.com/repos/PowerDNS/pdns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PowerDNS/pdns/merges","archive_url":"https://api.github.com/repos/PowerDNS/pdns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PowerDNS/pdns/downloads","issues_url":"https://api.github.com/repos/PowerDNS/pdns/issues{/number}","pulls_url":"https://api.github.com/repos/PowerDNS/pdns/pulls{/number}","milestones_url":"https://api.github.com/repos/PowerDNS/pdns/milestones{/number}","notifications_url":"https://api.github.com/repos/PowerDNS/pdns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PowerDNS/pdns/labels{/name}","releases_url":"https://api.github.com/repos/PowerDNS/pdns/releases{/id}","deployments_url":"https://api.github.com/repos/PowerDNS/pdns/deployments","created_at":"2013-04-26T11:16:49Z","updated_at":"2016-10-28T03:15:32Z","pushed_at":"2016-10-28T15:57:46Z","git_url":"git://github.com/PowerDNS/pdns.git","ssh_url":"git@github.com:PowerDNS/pdns.git","clone_url":"https://github.com/PowerDNS/pdns.git","svn_url":"https://github.com/PowerDNS/pdns","homepage":null,"size":42702,"stargazers_count":703,"watchers_count":703,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":282,"mirror_url":null,"open_issues_count":503,"forks":282,"open_issues":503,"watchers":703,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PowerDNS/pdns/pulls/4648"},"html":{"href":"https://github.com/PowerDNS/pdns/pull/4648"},"issue":{"href":"https://api.github.com/repos/PowerDNS/pdns/issues/4648"},"comments":{"href":"https://api.github.com/repos/PowerDNS/pdns/issues/4648/comments"},"review_comments":{"href":"https://api.github.com/repos/PowerDNS/pdns/pulls/4648/comments"},"review_comment":{"href":"https://api.github.com/repos/PowerDNS/pdns/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PowerDNS/pdns/pulls/4648/commits"},"statuses":{"href":"https://api.github.com/repos/PowerDNS/pdns/statuses/cba96aa331d6d24a25152e1d03b1b53293d5ea89"}}}}
{"actor":{"display_login":"elad"}}