{"action":"opened","issue":{"url":"https://api.github.com/repos/sbyx/hnetd/issues/54","repository_url":"https://api.github.com/repos/sbyx/hnetd","labels_url":"https://api.github.com/repos/sbyx/hnetd/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/sbyx/hnetd/issues/54/comments","events_url":"https://api.github.com/repos/sbyx/hnetd/issues/54/events","html_url":"https://github.com/sbyx/hnetd/issues/54","id":147231052,"number":54,"title":"Host record for router's FQDN obscures interface address in PTR record","user":{"login":"toreanderson","id":4557060,"avatar_url":"https://avatars.githubusercontent.com/u/4557060?v=3","gravatar_id":"","url":"https://api.github.com/users/toreanderson","html_url":"https://github.com/toreanderson","followers_url":"https://api.github.com/users/toreanderson/followers","following_url":"https://api.github.com/users/toreanderson/following{/other_user}","gists_url":"https://api.github.com/users/toreanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/toreanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toreanderson/subscriptions","organizations_url":"https://api.github.com/users/toreanderson/orgs","repos_url":"https://api.github.com/users/toreanderson/repos","events_url":"https://api.github.com/users/toreanderson/events{/privacy}","received_events_url":"https://api.github.com/users/toreanderson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-10T14:50:58Z","updated_at":"2016-04-10T14:50:58Z","closed_at":null,"body":"hnetd writes stuff like this to `/tmp/dnsmasq.d/hnet.conf`:\r\n\r\n    host-record=rtr1.home.,10.0.123.32\r\n    host-record=rtr1.home.,2001:db8:1234:d87::60\r\n    host-record=rtr2.home.,10.0.79.14\r\n    host-record=rtr2.home.,2001:db8:1234:d88::4e\r\n\r\nThe addresses used belong to a (randomly selected?) local interface on each router. This ensures that the routers can be accessed through their primary FQDNs. All well and good.\r\n\r\nUnfortunately however, this also overrides the full PTR record (normally provided by ohybridproxy). For example, *32.123.0.10.in-addr.arpa.* will resolve to *rtr1.home.* instead of to *rtr1.interface1.rtr1.home.*. That in turn makes traceroutes through the Homenet look weird and lose information, because random hops will lack interface information.\r\n\r\nThis can possibly be avoided by using `cname` instead of `host-record`, or certainly by assigning \"primary\" addresses to a loopback/dummy interface of each router and use those when constructing the `host-record` lines in the dnsmasq config. "}}