{"action":"closed","issue":{"url":"https://api.github.com/repos/AnalogJ/lexicon/issues/80","repository_url":"https://api.github.com/repos/AnalogJ/lexicon","labels_url":"https://api.github.com/repos/AnalogJ/lexicon/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/AnalogJ/lexicon/issues/80/comments","events_url":"https://api.github.com/repos/AnalogJ/lexicon/issues/80/events","html_url":"https://github.com/AnalogJ/lexicon/issues/80","id":194628291,"number":80,"title":"Unable to create record for delegated subdomain","user":{"login":"michaeltravisuk","id":22660036,"avatar_url":"https://avatars.githubusercontent.com/u/22660036?v=3","gravatar_id":"","url":"https://api.github.com/users/michaeltravisuk","html_url":"https://github.com/michaeltravisuk","followers_url":"https://api.github.com/users/michaeltravisuk/followers","following_url":"https://api.github.com/users/michaeltravisuk/following{/other_user}","gists_url":"https://api.github.com/users/michaeltravisuk/gists{/gist_id}","starred_url":"https://api.github.com/users/michaeltravisuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaeltravisuk/subscriptions","organizations_url":"https://api.github.com/users/michaeltravisuk/orgs","repos_url":"https://api.github.com/users/michaeltravisuk/repos","events_url":"https://api.github.com/users/michaeltravisuk/events{/privacy}","received_events_url":"https://api.github.com/users/michaeltravisuk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-12-09T15:48:58Z","updated_at":"2017-02-04T18:14:41Z","closed_at":"2017-02-04T18:14:41Z","body":"I am able to use Lexicon to create records on our top level domain (`platformservices.io`) which is hosted by Gandi, but not our delegated subdomains, hosted in Route53.\r\n\r\nI get error `StandardError: No domain found`\r\n\r\nLooking at the Route53 provider, it loops through Route53 zones it has found to see where your domain fits:\r\n\r\nhttps://github.com/AnalogJ/lexicon/blob/master/lexicon/providers/route53.py#L94\r\n\r\nBut the way the domain name is being parsed means it never gets matched.  I added a print line to show the domain it was trying to match to and it showed` platformservices.io.`\r\n\r\nThe zone in Route53, however is `euw.platformservices.io`, so the `euw` is being stripped in order to find the zone name."}}
{"actor":{"display_login":"AnalogJ"}}