{"action":"created","issue":{"url":"https://api.github.com/repos/mesosphere/mesos-dns/issues/159","labels_url":"https://api.github.com/repos/mesosphere/mesos-dns/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/mesosphere/mesos-dns/issues/159/comments","events_url":"https://api.github.com/repos/mesosphere/mesos-dns/issues/159/events","html_url":"https://github.com/mesosphere/mesos-dns/issues/159","id":77025656,"number":159,"title":"Serve master and slave hostnames as a-record","user":{"login":"jstabenow","id":7462030,"avatar_url":"https://avatars.githubusercontent.com/u/7462030?v=3","gravatar_id":"","url":"https://api.github.com/users/jstabenow","html_url":"https://github.com/jstabenow","followers_url":"https://api.github.com/users/jstabenow/followers","following_url":"https://api.github.com/users/jstabenow/following{/other_user}","gists_url":"https://api.github.com/users/jstabenow/gists{/gist_id}","starred_url":"https://api.github.com/users/jstabenow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jstabenow/subscriptions","organizations_url":"https://api.github.com/users/jstabenow/orgs","repos_url":"https://api.github.com/users/jstabenow/repos","events_url":"https://api.github.com/users/jstabenow/events{/privacy}","received_events_url":"https://api.github.com/users/jstabenow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-16T12:14:25Z","updated_at":"2015-05-16T22:06:54Z","closed_at":null,"body":"Is it planed to add the hostnames of the mesos-master and mesos-slaves as a a-record? it would be a very nice addition! so we can reach the HOST-Env (like HOST=slave1) without seperate dns-resolver...\r\n\r\nexamples: \r\n\"hostname\".mesos 3600 IN A \"10.11.12.13\"\r\n\"hostname\".slave.mesos 3600 IN A \"10.11.12.13\"\r\n\"hostname\".master.mesos 3600 IN A \"10.11.12.13\""},"comment":{"url":"https://api.github.com/repos/mesosphere/mesos-dns/issues/comments/102703893","html_url":"https://github.com/mesosphere/mesos-dns/issues/159#issuecomment-102703893","issue_url":"https://api.github.com/repos/mesosphere/mesos-dns/issues/159","id":102703893,"user":{"login":"kozyraki","id":2906213,"avatar_url":"https://avatars.githubusercontent.com/u/2906213?v=3","gravatar_id":"","url":"https://api.github.com/users/kozyraki","html_url":"https://github.com/kozyraki","followers_url":"https://api.github.com/users/kozyraki/followers","following_url":"https://api.github.com/users/kozyraki/following{/other_user}","gists_url":"https://api.github.com/users/kozyraki/gists{/gist_id}","starred_url":"https://api.github.com/users/kozyraki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kozyraki/subscriptions","organizations_url":"https://api.github.com/users/kozyraki/orgs","repos_url":"https://api.github.com/users/kozyraki/repos","events_url":"https://api.github.com/users/kozyraki/events{/privacy}","received_events_url":"https://api.github.com/users/kozyraki/received_events","type":"User","site_admin":false},"created_at":"2015-05-16T22:06:54Z","updated_at":"2015-05-16T22:06:54Z","body":"@jstabenow If you are responsible for the numbering (and its consistency) than simple. We can take the hostname and translate this to a hostname.domain) entry on Mesos-DNS (where tail is typically mesos)\r\n\r\nHowever, there are still a few minor issues to resolve:\r\n- Mesos-DNS may still have a small difficult with formating the hostname. For instance, what is the hostname on my site is myhostname1.dev.abc.com? Should we use the whole name (myhostname1.dev.abc.com.mesos) or try to trim it? If we try to trim it, how do we know if the \".dev\" is part of the hostname or the tail? \r\n- Not all Mesos installations use a valid hostname on the \"hostname\" parameter. We have seen quite a few cases where they list an IP address. What do we do in this case? The simplest thing is to skip the creation of the new name altogether. \r\n\r\nLet me know what you think. "}}