{"action":"closed","number":10,"pull_request":{"url":"https://api.github.com/repos/notwaldorf/cat-dns/pulls/10","id":32142530,"html_url":"https://github.com/notwaldorf/cat-dns/pull/10","diff_url":"https://github.com/notwaldorf/cat-dns/pull/10.diff","patch_url":"https://github.com/notwaldorf/cat-dns/pull/10.patch","issue_url":"https://api.github.com/repos/notwaldorf/cat-dns/issues/10","number":10,"state":"closed","locked":false,"title":"Creates option to bind server to custom host","user":{"login":"brycemcd","id":11643,"avatar_url":"https://avatars.githubusercontent.com/u/11643?v=3","gravatar_id":"","url":"https://api.github.com/users/brycemcd","html_url":"https://github.com/brycemcd","followers_url":"https://api.github.com/users/brycemcd/followers","following_url":"https://api.github.com/users/brycemcd/following{/other_user}","gists_url":"https://api.github.com/users/brycemcd/gists{/gist_id}","starred_url":"https://api.github.com/users/brycemcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brycemcd/subscriptions","organizations_url":"https://api.github.com/users/brycemcd/orgs","repos_url":"https://api.github.com/users/brycemcd/repos","events_url":"https://api.github.com/users/brycemcd/events{/privacy}","received_events_url":"https://api.github.com/users/brycemcd/received_events","type":"User","site_admin":false},"body":"Was trolling around today for great April Fools' day software. Found it. Thank you @notwaldorf for such a great contribution to basic internet infrastructure.\r\n\r\nThis PR simply adds a host to bind the DNS server to. \r\n\r\nThis is important because I intend to re-route the office's DNS traffic to my host on our NAT.\r\n\r\nTo test, issue this at the command line:\r\n\r\n```js\r\nsudo node cat-dns.js --host 10.10.1.20\r\n```\r\n\r\nor\r\n\r\n```js\r\nsudo node cat-dns.js -h 10.10.1.20\r\n```","created_at":"2015-03-27T20:34:41Z","updated_at":"2015-03-30T14:08:30Z","closed_at":"2015-03-30T14:08:29Z","merged_at":"2015-03-30T14:08:29Z","merge_commit_sha":"10ee4fe64c2ed3b6b92c305d15e2377f961de18c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/notwaldorf/cat-dns/pulls/10/commits","review_comments_url":"https://api.github.com/repos/notwaldorf/cat-dns/pulls/10/comments","review_comment_url":"https://api.github.com/repos/notwaldorf/cat-dns/pulls/comments{/number}","comments_url":"https://api.github.com/repos/notwaldorf/cat-dns/issues/10/comments","statuses_url":"https://api.github.com/repos/notwaldorf/cat-dns/statuses/d848ef0af1b67b6fe9c59fdf4972080650590443","head":{"label":"brycemcd:master","ref":"master","sha":"d848ef0af1b67b6fe9c59fdf4972080650590443","user":{"login":"brycemcd","id":11643,"avatar_url":"https://avatars.githubusercontent.com/u/11643?v=3","gravatar_id":"","url":"https://api.github.com/users/brycemcd","html_url":"https://github.com/brycemcd","followers_url":"https://api.github.com/users/brycemcd/followers","following_url":"https://api.github.com/users/brycemcd/following{/other_user}","gists_url":"https://api.github.com/users/brycemcd/gists{/gist_id}","starred_url":"https://api.github.com/users/brycemcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brycemcd/subscriptions","organizations_url":"https://api.github.com/users/brycemcd/orgs","repos_url":"https://api.github.com/users/brycemcd/repos","events_url":"https://api.github.com/users/brycemcd/events{/privacy}","received_events_url":"https://api.github.com/users/brycemcd/received_events","type":"User","site_admin":false},"repo":{"id":33007411,"name":"cat-dns","full_name":"brycemcd/cat-dns","owner":{"login":"brycemcd","id":11643,"avatar_url":"https://avatars.githubusercontent.com/u/11643?v=3","gravatar_id":"","url":"https://api.github.com/users/brycemcd","html_url":"https://github.com/brycemcd","followers_url":"https://api.github.com/users/brycemcd/followers","following_url":"https://api.github.com/users/brycemcd/following{/other_user}","gists_url":"https://api.github.com/users/brycemcd/gists{/gist_id}","starred_url":"https://api.github.com/users/brycemcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brycemcd/subscriptions","organizations_url":"https://api.github.com/users/brycemcd/orgs","repos_url":"https://api.github.com/users/brycemcd/repos","events_url":"https://api.github.com/users/brycemcd/events{/privacy}","received_events_url":"https://api.github.com/users/brycemcd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brycemcd/cat-dns","description":"A DNS server that resolves everything to cats.","fork":true,"url":"https://api.github.com/repos/brycemcd/cat-dns","forks_url":"https://api.github.com/repos/brycemcd/cat-dns/forks","keys_url":"https://api.github.com/repos/brycemcd/cat-dns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brycemcd/cat-dns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brycemcd/cat-dns/teams","hooks_url":"https://api.github.com/repos/brycemcd/cat-dns/hooks","issue_events_url":"https://api.github.com/repos/brycemcd/cat-dns/issues/events{/number}","events_url":"https://api.github.com/repos/brycemcd/cat-dns/events","assignees_url":"https://api.github.com/repos/brycemcd/cat-dns/assignees{/user}","branches_url":"https://api.github.com/repos/brycemcd/cat-dns/branches{/branch}","tags_url":"https://api.github.com/repos/brycemcd/cat-dns/tags","blobs_url":"https://api.github.com/repos/brycemcd/cat-dns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brycemcd/cat-dns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brycemcd/cat-dns/git/refs{/sha}","trees_url":"https://api.github.com/repos/brycemcd/cat-dns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brycemcd/cat-dns/statuses/{sha}","languages_url":"https://api.github.com/repos/brycemcd/cat-dns/languages","stargazers_url":"https://api.github.com/repos/brycemcd/cat-dns/stargazers","contributors_url":"https://api.github.com/repos/brycemcd/cat-dns/contributors","subscribers_url":"https://api.github.com/repos/brycemcd/cat-dns/subscribers","subscription_url":"https://api.github.com/repos/brycemcd/cat-dns/subscription","commits_url":"https://api.github.com/repos/brycemcd/cat-dns/commits{/sha}","git_commits_url":"https://api.github.com/repos/brycemcd/cat-dns/git/commits{/sha}","comments_url":"https://api.github.com/repos/brycemcd/cat-dns/comments{/number}","issue_comment_url":"https://api.github.com/repos/brycemcd/cat-dns/issues/comments{/number}","contents_url":"https://api.github.com/repos/brycemcd/cat-dns/contents/{+path}","compare_url":"https://api.github.com/repos/brycemcd/cat-dns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brycemcd/cat-dns/merges","archive_url":"https://api.github.com/repos/brycemcd/cat-dns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brycemcd/cat-dns/downloads","issues_url":"https://api.github.com/repos/brycemcd/cat-dns/issues{/number}","pulls_url":"https://api.github.com/repos/brycemcd/cat-dns/pulls{/number}","milestones_url":"https://api.github.com/repos/brycemcd/cat-dns/milestones{/number}","notifications_url":"https://api.github.com/repos/brycemcd/cat-dns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brycemcd/cat-dns/labels{/name}","releases_url":"https://api.github.com/repos/brycemcd/cat-dns/releases{/id}","created_at":"2015-03-27T20:21:52Z","updated_at":"2015-03-30T13:23:41Z","pushed_at":"2015-03-30T13:23:41Z","git_url":"git://github.com/brycemcd/cat-dns.git","ssh_url":"git@github.com:brycemcd/cat-dns.git","clone_url":"https://github.com/brycemcd/cat-dns.git","svn_url":"https://github.com/brycemcd/cat-dns","homepage":"http://notwaldorf.github.io/posts/go-cat-dns-go/","size":98,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"notwaldorf:master","ref":"master","sha":"ea61a1fc9e05d40eb07c99fdfe80a2b42ae82657","user":{"login":"notwaldorf","id":1369170,"avatar_url":"https://avatars.githubusercontent.com/u/1369170?v=3","gravatar_id":"","url":"https://api.github.com/users/notwaldorf","html_url":"https://github.com/notwaldorf","followers_url":"https://api.github.com/users/notwaldorf/followers","following_url":"https://api.github.com/users/notwaldorf/following{/other_user}","gists_url":"https://api.github.com/users/notwaldorf/gists{/gist_id}","starred_url":"https://api.github.com/users/notwaldorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notwaldorf/subscriptions","organizations_url":"https://api.github.com/users/notwaldorf/orgs","repos_url":"https://api.github.com/users/notwaldorf/repos","events_url":"https://api.github.com/users/notwaldorf/events{/privacy}","received_events_url":"https://api.github.com/users/notwaldorf/received_events","type":"User","site_admin":false},"repo":{"id":16931265,"name":"cat-dns","full_name":"notwaldorf/cat-dns","owner":{"login":"notwaldorf","id":1369170,"avatar_url":"https://avatars.githubusercontent.com/u/1369170?v=3","gravatar_id":"","url":"https://api.github.com/users/notwaldorf","html_url":"https://github.com/notwaldorf","followers_url":"https://api.github.com/users/notwaldorf/followers","following_url":"https://api.github.com/users/notwaldorf/following{/other_user}","gists_url":"https://api.github.com/users/notwaldorf/gists{/gist_id}","starred_url":"https://api.github.com/users/notwaldorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notwaldorf/subscriptions","organizations_url":"https://api.github.com/users/notwaldorf/orgs","repos_url":"https://api.github.com/users/notwaldorf/repos","events_url":"https://api.github.com/users/notwaldorf/events{/privacy}","received_events_url":"https://api.github.com/users/notwaldorf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/notwaldorf/cat-dns","description":"A DNS server that resolves everything to cats.","fork":false,"url":"https://api.github.com/repos/notwaldorf/cat-dns","forks_url":"https://api.github.com/repos/notwaldorf/cat-dns/forks","keys_url":"https://api.github.com/repos/notwaldorf/cat-dns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/notwaldorf/cat-dns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/notwaldorf/cat-dns/teams","hooks_url":"https://api.github.com/repos/notwaldorf/cat-dns/hooks","issue_events_url":"https://api.github.com/repos/notwaldorf/cat-dns/issues/events{/number}","events_url":"https://api.github.com/repos/notwaldorf/cat-dns/events","assignees_url":"https://api.github.com/repos/notwaldorf/cat-dns/assignees{/user}","branches_url":"https://api.github.com/repos/notwaldorf/cat-dns/branches{/branch}","tags_url":"https://api.github.com/repos/notwaldorf/cat-dns/tags","blobs_url":"https://api.github.com/repos/notwaldorf/cat-dns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/notwaldorf/cat-dns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/notwaldorf/cat-dns/git/refs{/sha}","trees_url":"https://api.github.com/repos/notwaldorf/cat-dns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/notwaldorf/cat-dns/statuses/{sha}","languages_url":"https://api.github.com/repos/notwaldorf/cat-dns/languages","stargazers_url":"https://api.github.com/repos/notwaldorf/cat-dns/stargazers","contributors_url":"https://api.github.com/repos/notwaldorf/cat-dns/contributors","subscribers_url":"https://api.github.com/repos/notwaldorf/cat-dns/subscribers","subscription_url":"https://api.github.com/repos/notwaldorf/cat-dns/subscription","commits_url":"https://api.github.com/repos/notwaldorf/cat-dns/commits{/sha}","git_commits_url":"https://api.github.com/repos/notwaldorf/cat-dns/git/commits{/sha}","comments_url":"https://api.github.com/repos/notwaldorf/cat-dns/comments{/number}","issue_comment_url":"https://api.github.com/repos/notwaldorf/cat-dns/issues/comments{/number}","contents_url":"https://api.github.com/repos/notwaldorf/cat-dns/contents/{+path}","compare_url":"https://api.github.com/repos/notwaldorf/cat-dns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/notwaldorf/cat-dns/merges","archive_url":"https://api.github.com/repos/notwaldorf/cat-dns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/notwaldorf/cat-dns/downloads","issues_url":"https://api.github.com/repos/notwaldorf/cat-dns/issues{/number}","pulls_url":"https://api.github.com/repos/notwaldorf/cat-dns/pulls{/number}","milestones_url":"https://api.github.com/repos/notwaldorf/cat-dns/milestones{/number}","notifications_url":"https://api.github.com/repos/notwaldorf/cat-dns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/notwaldorf/cat-dns/labels{/name}","releases_url":"https://api.github.com/repos/notwaldorf/cat-dns/releases{/id}","created_at":"2014-02-18T00:12:33Z","updated_at":"2015-03-30T14:08:30Z","pushed_at":"2015-03-30T14:08:30Z","git_url":"git://github.com/notwaldorf/cat-dns.git","ssh_url":"git@github.com:notwaldorf/cat-dns.git","clone_url":"https://github.com/notwaldorf/cat-dns.git","svn_url":"https://github.com/notwaldorf/cat-dns","homepage":"http://notwaldorf.github.io/posts/go-cat-dns-go/","size":210,"stargazers_count":64,"watchers_count":64,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":0,"forks":9,"open_issues":0,"watchers":64,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/notwaldorf/cat-dns/pulls/10"},"html":{"href":"https://github.com/notwaldorf/cat-dns/pull/10"},"issue":{"href":"https://api.github.com/repos/notwaldorf/cat-dns/issues/10"},"comments":{"href":"https://api.github.com/repos/notwaldorf/cat-dns/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/notwaldorf/cat-dns/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/notwaldorf/cat-dns/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/notwaldorf/cat-dns/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/notwaldorf/cat-dns/statuses/d848ef0af1b67b6fe9c59fdf4972080650590443"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"notwaldorf","id":1369170,"avatar_url":"https://avatars.githubusercontent.com/u/1369170?v=3","gravatar_id":"","url":"https://api.github.com/users/notwaldorf","html_url":"https://github.com/notwaldorf","followers_url":"https://api.github.com/users/notwaldorf/followers","following_url":"https://api.github.com/users/notwaldorf/following{/other_user}","gists_url":"https://api.github.com/users/notwaldorf/gists{/gist_id}","starred_url":"https://api.github.com/users/notwaldorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notwaldorf/subscriptions","organizations_url":"https://api.github.com/users/notwaldorf/orgs","repos_url":"https://api.github.com/users/notwaldorf/repos","events_url":"https://api.github.com/users/notwaldorf/events{/privacy}","received_events_url":"https://api.github.com/users/notwaldorf/received_events","type":"User","site_admin":false},"comments":5,"review_comments":1,"commits":4,"additions":29,"deletions":5,"changed_files":2}}