{"action":"opened","number":8,"pull_request":{"url":"https://api.github.com/repos/yuuki/gokc/pulls/8","id":111948181,"html_url":"https://github.com/yuuki/gokc/pull/8","diff_url":"https://github.com/yuuki/gokc/pull/8.diff","patch_url":"https://github.com/yuuki/gokc/pull/8.patch","issue_url":"https://api.github.com/repos/yuuki/gokc/issues/8","number":8,"state":"open","locked":false,"title":"Add DNS_CHECK directive","user":{"login":"pandax381","id":1667051,"avatar_url":"https://avatars3.githubusercontent.com/u/1667051?v=3","gravatar_id":"","url":"https://api.github.com/users/pandax381","html_url":"https://github.com/pandax381","followers_url":"https://api.github.com/users/pandax381/followers","following_url":"https://api.github.com/users/pandax381/following{/other_user}","gists_url":"https://api.github.com/users/pandax381/gists{/gist_id}","starred_url":"https://api.github.com/users/pandax381/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pandax381/subscriptions","organizations_url":"https://api.github.com/users/pandax381/orgs","repos_url":"https://api.github.com/users/pandax381/repos","events_url":"https://api.github.com/users/pandax381/events{/privacy}","received_events_url":"https://api.github.com/users/pandax381/received_events","type":"User","site_admin":false},"body":"Keepalived supports DNS health checker since 1.3.0.\r\n\r\nkeepalived.conf(5)\r\n```\r\n...\r\n# DNS healthchecker\r\nDNS_CHECK\r\n{  \r\n    # ======== generic connection options\r\n    # Optional IP address to connect to.\r\n    # The default is the realserver IP\r\n    connect_ip <IP ADDRESS>\r\n    # Optional port to connect to\r\n    # The default is the realserver port\r\n    connect_port <PORT>\r\n    # Optional interface to use to\r\n    # originate the connection\r\n    bindto <IP ADDRESS>\r\n    # Optional source port to\r\n    # originate the connection from\r\n    bind_port <PORT>\r\n    # Optional connection timeout in seconds.\r\n    # The default is 5 seconds\r\n    connect_timeout <INTEGER>\r\n    # Optional fwmark to mark all outgoing\r\n    # checker packets with\r\n    fwmark <INTEGER>\r\n\r\n    # Number of times to retry a failed check\r\n    # The default is 3 times.\r\n    retry <INTEGER>\r\n    # DNS query type\r\n    #   A|NS|CNAME|SOA|MX|TXT|AAAA\r\n    # The default is SOA\r\n    type <STRING>\r\n    # Domain name to use for the DNS query\r\n    # The default is . (dot)\r\n    name <STRING>\r\n}\r\n...\r\n```","created_at":"2017-03-22T07:37:33Z","updated_at":"2017-03-22T07:37:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/yuuki/gokc/pulls/8/commits","review_comments_url":"https://api.github.com/repos/yuuki/gokc/pulls/8/comments","review_comment_url":"https://api.github.com/repos/yuuki/gokc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yuuki/gokc/issues/8/comments","statuses_url":"https://api.github.com/repos/yuuki/gokc/statuses/ba53619f47a920db16bfa2fe33481d738992486f","head":{"label":"pandax381:dns_check","ref":"dns_check","sha":"ba53619f47a920db16bfa2fe33481d738992486f","user":{"login":"pandax381","id":1667051,"avatar_url":"https://avatars3.githubusercontent.com/u/1667051?v=3","gravatar_id":"","url":"https://api.github.com/users/pandax381","html_url":"https://github.com/pandax381","followers_url":"https://api.github.com/users/pandax381/followers","following_url":"https://api.github.com/users/pandax381/following{/other_user}","gists_url":"https://api.github.com/users/pandax381/gists{/gist_id}","starred_url":"https://api.github.com/users/pandax381/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pandax381/subscriptions","organizations_url":"https://api.github.com/users/pandax381/orgs","repos_url":"https://api.github.com/users/pandax381/repos","events_url":"https://api.github.com/users/pandax381/events{/privacy}","received_events_url":"https://api.github.com/users/pandax381/received_events","type":"User","site_admin":false},"repo":{"id":85295469,"name":"gokc","full_name":"pandax381/gokc","owner":{"login":"pandax381","id":1667051,"avatar_url":"https://avatars3.githubusercontent.com/u/1667051?v=3","gravatar_id":"","url":"https://api.github.com/users/pandax381","html_url":"https://github.com/pandax381","followers_url":"https://api.github.com/users/pandax381/followers","following_url":"https://api.github.com/users/pandax381/following{/other_user}","gists_url":"https://api.github.com/users/pandax381/gists{/gist_id}","starred_url":"https://api.github.com/users/pandax381/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pandax381/subscriptions","organizations_url":"https://api.github.com/users/pandax381/orgs","repos_url":"https://api.github.com/users/pandax381/repos","events_url":"https://api.github.com/users/pandax381/events{/privacy}","received_events_url":"https://api.github.com/users/pandax381/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pandax381/gokc","description":"Yet Another Keepalived Syntax Checker in Golang.","fork":true,"url":"https://api.github.com/repos/pandax381/gokc","forks_url":"https://api.github.com/repos/pandax381/gokc/forks","keys_url":"https://api.github.com/repos/pandax381/gokc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pandax381/gokc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pandax381/gokc/teams","hooks_url":"https://api.github.com/repos/pandax381/gokc/hooks","issue_events_url":"https://api.github.com/repos/pandax381/gokc/issues/events{/number}","events_url":"https://api.github.com/repos/pandax381/gokc/events","assignees_url":"https://api.github.com/repos/pandax381/gokc/assignees{/user}","branches_url":"https://api.github.com/repos/pandax381/gokc/branches{/branch}","tags_url":"https://api.github.com/repos/pandax381/gokc/tags","blobs_url":"https://api.github.com/repos/pandax381/gokc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pandax381/gokc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pandax381/gokc/git/refs{/sha}","trees_url":"https://api.github.com/repos/pandax381/gokc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pandax381/gokc/statuses/{sha}","languages_url":"https://api.github.com/repos/pandax381/gokc/languages","stargazers_url":"https://api.github.com/repos/pandax381/gokc/stargazers","contributors_url":"https://api.github.com/repos/pandax381/gokc/contributors","subscribers_url":"https://api.github.com/repos/pandax381/gokc/subscribers","subscription_url":"https://api.github.com/repos/pandax381/gokc/subscription","commits_url":"https://api.github.com/repos/pandax381/gokc/commits{/sha}","git_commits_url":"https://api.github.com/repos/pandax381/gokc/git/commits{/sha}","comments_url":"https://api.github.com/repos/pandax381/gokc/comments{/number}","issue_comment_url":"https://api.github.com/repos/pandax381/gokc/issues/comments{/number}","contents_url":"https://api.github.com/repos/pandax381/gokc/contents/{+path}","compare_url":"https://api.github.com/repos/pandax381/gokc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pandax381/gokc/merges","archive_url":"https://api.github.com/repos/pandax381/gokc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pandax381/gokc/downloads","issues_url":"https://api.github.com/repos/pandax381/gokc/issues{/number}","pulls_url":"https://api.github.com/repos/pandax381/gokc/pulls{/number}","milestones_url":"https://api.github.com/repos/pandax381/gokc/milestones{/number}","notifications_url":"https://api.github.com/repos/pandax381/gokc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pandax381/gokc/labels{/name}","releases_url":"https://api.github.com/repos/pandax381/gokc/releases{/id}","deployments_url":"https://api.github.com/repos/pandax381/gokc/deployments","created_at":"2017-03-17T09:41:07Z","updated_at":"2017-03-17T09:41:09Z","pushed_at":"2017-03-22T06:31:11Z","git_url":"git://github.com/pandax381/gokc.git","ssh_url":"git@github.com:pandax381/gokc.git","clone_url":"https://github.com/pandax381/gokc.git","svn_url":"https://github.com/pandax381/gokc","homepage":"","size":97,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"yuuki:master","ref":"master","sha":"91c7c14505dfa6586649a913029441267ab69cdc","user":{"login":"yuuki","id":473708,"avatar_url":"https://avatars3.githubusercontent.com/u/473708?v=3","gravatar_id":"","url":"https://api.github.com/users/yuuki","html_url":"https://github.com/yuuki","followers_url":"https://api.github.com/users/yuuki/followers","following_url":"https://api.github.com/users/yuuki/following{/other_user}","gists_url":"https://api.github.com/users/yuuki/gists{/gist_id}","starred_url":"https://api.github.com/users/yuuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuuki/subscriptions","organizations_url":"https://api.github.com/users/yuuki/orgs","repos_url":"https://api.github.com/users/yuuki/repos","events_url":"https://api.github.com/users/yuuki/events{/privacy}","received_events_url":"https://api.github.com/users/yuuki/received_events","type":"User","site_admin":false},"repo":{"id":49673132,"name":"gokc","full_name":"yuuki/gokc","owner":{"login":"yuuki","id":473708,"avatar_url":"https://avatars3.githubusercontent.com/u/473708?v=3","gravatar_id":"","url":"https://api.github.com/users/yuuki","html_url":"https://github.com/yuuki","followers_url":"https://api.github.com/users/yuuki/followers","following_url":"https://api.github.com/users/yuuki/following{/other_user}","gists_url":"https://api.github.com/users/yuuki/gists{/gist_id}","starred_url":"https://api.github.com/users/yuuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuuki/subscriptions","organizations_url":"https://api.github.com/users/yuuki/orgs","repos_url":"https://api.github.com/users/yuuki/repos","events_url":"https://api.github.com/users/yuuki/events{/privacy}","received_events_url":"https://api.github.com/users/yuuki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yuuki/gokc","description":"Yet Another Keepalived Syntax Checker in Golang.","fork":false,"url":"https://api.github.com/repos/yuuki/gokc","forks_url":"https://api.github.com/repos/yuuki/gokc/forks","keys_url":"https://api.github.com/repos/yuuki/gokc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuuki/gokc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuuki/gokc/teams","hooks_url":"https://api.github.com/repos/yuuki/gokc/hooks","issue_events_url":"https://api.github.com/repos/yuuki/gokc/issues/events{/number}","events_url":"https://api.github.com/repos/yuuki/gokc/events","assignees_url":"https://api.github.com/repos/yuuki/gokc/assignees{/user}","branches_url":"https://api.github.com/repos/yuuki/gokc/branches{/branch}","tags_url":"https://api.github.com/repos/yuuki/gokc/tags","blobs_url":"https://api.github.com/repos/yuuki/gokc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuuki/gokc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuuki/gokc/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuuki/gokc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuuki/gokc/statuses/{sha}","languages_url":"https://api.github.com/repos/yuuki/gokc/languages","stargazers_url":"https://api.github.com/repos/yuuki/gokc/stargazers","contributors_url":"https://api.github.com/repos/yuuki/gokc/contributors","subscribers_url":"https://api.github.com/repos/yuuki/gokc/subscribers","subscription_url":"https://api.github.com/repos/yuuki/gokc/subscription","commits_url":"https://api.github.com/repos/yuuki/gokc/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuuki/gokc/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuuki/gokc/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuuki/gokc/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuuki/gokc/contents/{+path}","compare_url":"https://api.github.com/repos/yuuki/gokc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuuki/gokc/merges","archive_url":"https://api.github.com/repos/yuuki/gokc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuuki/gokc/downloads","issues_url":"https://api.github.com/repos/yuuki/gokc/issues{/number}","pulls_url":"https://api.github.com/repos/yuuki/gokc/pulls{/number}","milestones_url":"https://api.github.com/repos/yuuki/gokc/milestones{/number}","notifications_url":"https://api.github.com/repos/yuuki/gokc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuuki/gokc/labels{/name}","releases_url":"https://api.github.com/repos/yuuki/gokc/releases{/id}","deployments_url":"https://api.github.com/repos/yuuki/gokc/deployments","created_at":"2016-01-14T20:27:18Z","updated_at":"2017-01-30T07:02:05Z","pushed_at":"2017-03-21T13:55:55Z","git_url":"git://github.com/yuuki/gokc.git","ssh_url":"git@github.com:yuuki/gokc.git","clone_url":"https://github.com/yuuki/gokc.git","svn_url":"https://github.com/yuuki/gokc","homepage":"","size":92,"stargazers_count":26,"watchers_count":26,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yuuki/gokc/pulls/8"},"html":{"href":"https://github.com/yuuki/gokc/pull/8"},"issue":{"href":"https://api.github.com/repos/yuuki/gokc/issues/8"},"comments":{"href":"https://api.github.com/repos/yuuki/gokc/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/yuuki/gokc/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/yuuki/gokc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yuuki/gokc/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/yuuki/gokc/statuses/ba53619f47a920db16bfa2fe33481d738992486f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":396,"deletions":302,"changed_files":3}}
{"actor":{"display_login":"pandax381"}}