{"action":"created","issue":{"url":"https://api.github.com/repos/skynetservices/skydns/issues/144","labels_url":"https://api.github.com/repos/skynetservices/skydns/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/skynetservices/skydns/issues/144/comments","events_url":"https://api.github.com/repos/skynetservices/skydns/issues/144/events","html_url":"https://github.com/skynetservices/skydns/issues/144","id":65346472,"number":144,"title":"SRV for multiple ports","user":{"login":"thockin","id":5595220,"avatar_url":"https://avatars.githubusercontent.com/u/5595220?v=3","gravatar_id":"","url":"https://api.github.com/users/thockin","html_url":"https://github.com/thockin","followers_url":"https://api.github.com/users/thockin/followers","following_url":"https://api.github.com/users/thockin/following{/other_user}","gists_url":"https://api.github.com/users/thockin/gists{/gist_id}","starred_url":"https://api.github.com/users/thockin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thockin/subscriptions","organizations_url":"https://api.github.com/users/thockin/orgs","repos_url":"https://api.github.com/users/thockin/repos","events_url":"https://api.github.com/users/thockin/events{/privacy}","received_events_url":"https://api.github.com/users/thockin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2015-03-31T02:22:51Z","updated_at":"2015-04-01T21:51:34Z","closed_at":null,"body":"With https://github.com/GoogleCloudPlatform/kubernetes/pull/6182 kubernetes introduces multi-port service IPs.\r\n\r\nI'm trying to program SkyDNS to support this, but it seems there is no way to do it.  Please correct me if I am wrong?  Specifically the msg.Service structure has no place to put the service name (port name for us) or the protocol, and it only supports a single port.\r\n\r\nScanning code I do not see any faculties for using SRV \"properly\".  Please advise?"},"comment":{"url":"https://api.github.com/repos/skynetservices/skydns/issues/comments/88643281","html_url":"https://github.com/skynetservices/skydns/issues/144#issuecomment-88643281","issue_url":"https://api.github.com/repos/skynetservices/skydns/issues/144","id":88643281,"user":{"login":"miekg","id":353371,"avatar_url":"https://avatars.githubusercontent.com/u/353371?v=3","gravatar_id":"","url":"https://api.github.com/users/miekg","html_url":"https://github.com/miekg","followers_url":"https://api.github.com/users/miekg/followers","following_url":"https://api.github.com/users/miekg/following{/other_user}","gists_url":"https://api.github.com/users/miekg/gists{/gist_id}","starred_url":"https://api.github.com/users/miekg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miekg/subscriptions","organizations_url":"https://api.github.com/users/miekg/orgs","repos_url":"https://api.github.com/users/miekg/repos","events_url":"https://api.github.com/users/miekg/events{/privacy}","received_events_url":"https://api.github.com/users/miekg/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T21:51:34Z","updated_at":"2015-04-01T21:51:34Z","body":"> oh, so the .../bar/foo@1 key holds the Service object for\r\n> foo.bar.skydns.local while .../bar/foo/other key holds the Service object\r\n> for other.foo.bar... ?\r\n \r\nyes, something like that, except that foo@1 would be stored as `foo/@1` \r\n\r\n> That could work.  What happens if I provide foo@1, foo@2, foo@3 all at the\r\n> same time?  Multiple SRV records?\r\n\r\nYes, or multiple A/AAAA records, depends on what is specified in the Service.\r\n\r\nBut I need to code this and see if it would actually works and makes sense. (Looks like it does though)\r\n\r\n\r\n"}}