{"action":"created","issue":{"url":"https://api.github.com/repos/openwrt/packages/issues/2798","repository_url":"https://api.github.com/repos/openwrt/packages","labels_url":"https://api.github.com/repos/openwrt/packages/issues/2798/labels{/name}","comments_url":"https://api.github.com/repos/openwrt/packages/issues/2798/comments","events_url":"https://api.github.com/repos/openwrt/packages/issues/2798/events","html_url":"https://github.com/openwrt/packages/pull/2798","id":157982851,"number":2798,"title":"ddns-scripts: add support for glue records","user":{"login":"mkresin","id":4547948,"avatar_url":"https://avatars.githubusercontent.com/u/4547948?v=3","gravatar_id":"","url":"https://api.github.com/users/mkresin","html_url":"https://github.com/mkresin","followers_url":"https://api.github.com/users/mkresin/followers","following_url":"https://api.github.com/users/mkresin/following{/other_user}","gists_url":"https://api.github.com/users/mkresin/gists{/gist_id}","starred_url":"https://api.github.com/users/mkresin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkresin/subscriptions","organizations_url":"https://api.github.com/users/mkresin/orgs","repos_url":"https://api.github.com/users/mkresin/repos","events_url":"https://api.github.com/users/mkresin/events{/privacy}","received_events_url":"https://api.github.com/users/mkresin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-01T19:03:43Z","updated_at":"2016-06-02T19:04:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openwrt/packages/pulls/2798","html_url":"https://github.com/openwrt/packages/pull/2798","diff_url":"https://github.com/openwrt/packages/pull/2798.diff","patch_url":"https://github.com/openwrt/packages/pull/2798.patch"},"body":"Assuming the following dns zone configuration for kresin.me:\r\n\r\n    .                   1800  IN  NS  ns.inwx.de.\r\n    home.kresin.me.     1800  IN  NS  gw.home.kresin.me.\r\n    gw.home.kresin.me.  60    IN  A   198.51.100.1\r\n\r\nUsing the example, gw.home.kresin.me is a glue record and used as DDNS\r\nrecord as well. gw.home.kresin.me points to the OpenWrt installation\r\nwhere the ddns-scripts are running.\r\n\r\nSince ns.inwx.de isn't the authoritative server for home.kresin.me,\r\na query for the the A record of gw.home.kresin.me will be \"forwarded\"\r\nto and replied by the authoritative server 198.51.100.1. If the\r\nauthoritative server can't be reached, the query times out without any\r\naddress returned.\r\n\r\nThe only way to get the A record of the glue record is to use bind\r\nhost in verbose output mode, query ns.inwx.de for gw.home.kresin.me and\r\nevaluate the additional section of the response.\r\n\r\nTo my knowledge, only bind host in verbose output mode shows the\r\nadditional section of the response. Therefore, this features depends on\r\nbind host.\r\n\r\nIt is not possible to use the bind host verbose mode for all queries.\r\nIn verbose mode the \"has address\" line isn't returned. Grepping for the\r\nhostname might fail if the hostname is CNAME. Grepping for the first\r\noccurrence of an ip-address is way to error prone, since it could\r\nreturn the ip address of a different record type.\r\n\r\nSigned-off-by: Mathias Kresin <dev@kresin.me>"},"comment":{"url":"https://api.github.com/repos/openwrt/packages/issues/comments/223390340","html_url":"https://github.com/openwrt/packages/pull/2798#issuecomment-223390340","issue_url":"https://api.github.com/repos/openwrt/packages/issues/2798","id":223390340,"user":{"login":"chris5560","id":8249658,"avatar_url":"https://avatars.githubusercontent.com/u/8249658?v=3","gravatar_id":"","url":"https://api.github.com/users/chris5560","html_url":"https://github.com/chris5560","followers_url":"https://api.github.com/users/chris5560/followers","following_url":"https://api.github.com/users/chris5560/following{/other_user}","gists_url":"https://api.github.com/users/chris5560/gists{/gist_id}","starred_url":"https://api.github.com/users/chris5560/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris5560/subscriptions","organizations_url":"https://api.github.com/users/chris5560/orgs","repos_url":"https://api.github.com/users/chris5560/repos","events_url":"https://api.github.com/users/chris5560/events{/privacy}","received_events_url":"https://api.github.com/users/chris5560/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T19:04:28Z","updated_at":"2016-06-02T19:04:28Z","body":"OK for me to merge.\n\n@mkresin\nPlease do me a favour.\nExtend the WIKI at http://wiki.openwrt.org/doc/uci/ddns#section_service to document the new option in a casual user understandable way. I personally do not have the in deep knowledge to describe. Thanks.\n\nFor the moment I see no reason to implement into luci_app_ddns. What do you think.\n\n"}}
{"actor":{"display_login":"chris5560"}}