{"action":"created","issue":{"url":"https://api.github.com/repos/internetee/registry/issues/267","repository_url":"https://api.github.com/repos/internetee/registry","labels_url":"https://api.github.com/repos/internetee/registry/issues/267/labels{/name}","comments_url":"https://api.github.com/repos/internetee/registry/issues/267/comments","events_url":"https://api.github.com/repos/internetee/registry/issues/267/events","html_url":"https://github.com/internetee/registry/issues/267","id":192010118,"number":267,"title":"EPP: support for 0 or 2 nameserver minimum for any domain","user":{"login":"vohmar","id":7734747,"avatar_url":"https://avatars.githubusercontent.com/u/7734747?v=3","gravatar_id":"","url":"https://api.github.com/users/vohmar","html_url":"https://github.com/vohmar","followers_url":"https://api.github.com/users/vohmar/followers","following_url":"https://api.github.com/users/vohmar/following{/other_user}","gists_url":"https://api.github.com/users/vohmar/gists{/gist_id}","starred_url":"https://api.github.com/users/vohmar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vohmar/subscriptions","organizations_url":"https://api.github.com/users/vohmar/orgs","repos_url":"https://api.github.com/users/vohmar/repos","events_url":"https://api.github.com/users/vohmar/events{/privacy}","received_events_url":"https://api.github.com/users/vohmar/received_events","type":"User","site_admin":false},"labels":[{"id":103122573,"url":"https://api.github.com/repos/internetee/registry/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-11-28T13:47:54Z","updated_at":"2016-12-27T08:15:18Z","closed_at":null,"body":"Starting from 1. January 2017 there will be no nameserver requirement on domain registration.. Registrant can register a domain without specifying any nameservers.\r\n\r\n* domain names with no nameservers will have status inactive as per rfc (https://tools.ietf.org/html/rfc5731#section-2.3). With no pending and prohibited statuses both OK and INACTIVE statuses are present for domains with no valid ns records.\r\n* domain names with inactive status will not be propagated to zone file.\r\n* to activate a domain the registrant has to add at least 2 nameserver records to the domain. If there is only 1 valid ns element present error must be returned\r\n`2308 \"Data management policy violation; Nameservers count must be between 2-11 for active domains\"`\r\n* epp domain update to add/remove nameserver records will have to verify that as a result there cannot reamin only 1 nameserver record for that domain. Error code:\r\n`2308 \"Data management policy violation; Nameservers count must be between 2-11 for active domains\"`\r\n* application admin can remove any number of nameservers for any domain using admin interface (the no 1 host does not apply here).\r\n* the 1 host/nameserver check has to be added to domain validations - if there is only one host presents the domain renew must fail, also domain update must fail if as a result the remaining number of hosts is still 1. Error code\r\n`2304 \"Object status prohibits operation; Invalid count of nameserver records\"`\r\n* It is OK if there are no nameservers left after the epp domain update - domain will get inactive status in the case and will be removed from the zone\r\n\r\n<del>in admin interface settings there is a setting \"Nameserver minimum count\" this will be set to 0. We have to add another setting to set the minimum count for epp for active domains \"Nameserver minimum count for active domains\". At the end of 31th of December we will set these settings to 0 and 2 respectively. </del>\r\n\r\nnew checkbox type setting must be added to admin interface \"Nameservers optional\" to enable or disable  registering domains wihtout nameservers or removing all nameserver records. The default state is 'enabled' as stated in RFC5731.\r\nCurrent \"Nameserver minimum count\" option will remain set to 2 to state the number of nameservers required to activate a domain.\r\n\r\nDomain.md documentation must be updated for domain create\r\n`<domain:ns>            1`  -> `<domain:ns>            0-1`"},"comment":{"url":"https://api.github.com/repos/internetee/registry/issues/comments/269290424","html_url":"https://github.com/internetee/registry/issues/267#issuecomment-269290424","issue_url":"https://api.github.com/repos/internetee/registry/issues/267","id":269290424,"user":{"login":"artur-beljajev","id":22315378,"avatar_url":"https://avatars.githubusercontent.com/u/22315378?v=3","gravatar_id":"","url":"https://api.github.com/users/artur-beljajev","html_url":"https://github.com/artur-beljajev","followers_url":"https://api.github.com/users/artur-beljajev/followers","following_url":"https://api.github.com/users/artur-beljajev/following{/other_user}","gists_url":"https://api.github.com/users/artur-beljajev/gists{/gist_id}","starred_url":"https://api.github.com/users/artur-beljajev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artur-beljajev/subscriptions","organizations_url":"https://api.github.com/users/artur-beljajev/orgs","repos_url":"https://api.github.com/users/artur-beljajev/repos","events_url":"https://api.github.com/users/artur-beljajev/events{/privacy}","received_events_url":"https://api.github.com/users/artur-beljajev/received_events","type":"User","site_admin":false},"created_at":"2016-12-27T08:15:18Z","updated_at":"2016-12-27T08:15:18Z","body":"@ratM1n Please prepare SQL for\r\n\r\n> domain names with inactive status will not be propagated to zone file."}}
{"actor":{"display_login":"artur-beljajev"}}