Tuesday, 2013-09-03

*** CaptTofu has quit IRC00:27
*** CaptTofu has joined #openstack-dns00:27
*** CaptTofu has quit IRC01:11
*** CaptTofu has joined #openstack-dns01:11
*** CaptTofu has quit IRC01:13
*** mikal has quit IRC01:13
*** CaptTofu has joined #openstack-dns01:14
*** mikal has joined #openstack-dns01:14
*** shakayumi has quit IRC02:21
*** CaptTofu has quit IRC02:29
*** CaptTofu has joined #openstack-dns02:30
*** dmakogon_ has joined #openstack-dns05:26
*** dmakogon_ has quit IRC07:08
simonmccfirst one in wins10:08
*** cflmarques has joined #openstack-dns10:27
*** cflmarques has quit IRC11:10
*** CaptTofu has quit IRC11:16
*** CaptTofu has joined #openstack-dns11:17
*** cflmarques has joined #openstack-dns11:26
cflmarqueshi guys. I can only create domains per tenant if I have keystone authentication enabled I am right?11:37
cflmarqueshi guys. I can only create domains per tenant if I have keystone authentication enabled  am I right?11:37
*** shakayumi has joined #openstack-dns11:48
*** shakayumi has quit IRC12:20
kiallcflmarques: yes, there are two auth modes... "keystone" or "none"12:46
kiallSo - If keystone auth is not in use, then everyone is a admin in a single shared tenant/project12:46
cflmarqueshi kiall12:56
cflmarquesso what is this "X-Designate-Sudo-Tenant-ID" for?12:56
kiallThat's intented for use with Keystone auth, allowing certain users to act on behalf of another tenant12:57
cflmarquesI can only used that if I am admin?12:57
kiallYea - That's not intended for end users in any way!12:57
cflmarquesoh I see12:57
cflmarquesso any tenant can use designate but only  by providing with keystone authentication for especific project13:00
kiallYea, or you can customize the policy.json and only allow users with certain roles etc acess..13:03
kiallaccess*13:03
cflmarquesthat is a really good hint :)13:04
cflmarquesI really never thought about policy.json13:06
cflmarquesthanks13:08
*** dkehn_away is now known as dkehn13:10
dmakogonhi, guys, could you answer one question to me ?13:14
dmakogonkiall: what kind of DNS server Designate is ?13:14
dmakogonis it architecturally like dynamic dns or like powerdns ?13:15
kialldmakogon: designate isn't a DNS server itself, it manages PowerDNS or Bind9 or ..13:15
kiall(PowerDNS is by far the best supported at the moment)13:15
dmakogonkiall: thanks13:16
dmakogonhave you got any documentation about whole project (deployment, API etc) ?13:16
kiallhttp://designate.readthedocs.org/en/latest/ are the docs :)13:21
cflmarquesdmakogon:The docs can help you!13:23
dmakogonthanks, alot13:23
*** tsimmons has joined #openstack-dns14:04
*** msisk has joined #openstack-dns14:27
*** tsimmons has quit IRC14:42
*** vinodmr has joined #openstack-dns14:44
vinodmrkiall:  In Designate, are there checks for subdomains and superdomains to prevent a user from creating a sub/super domain for a domain owned by another user?14:45
*** msisk has quit IRC14:49
*** msisk has joined #openstack-dns14:51
kiallvinodmr: yea, but I believe there is a bug in it when creating a superdomain of an existing domain.. I've not had a chance to verify yet though.14:53
vinodmrThanks kiall.14:58
vinodmrDo you happen to know where this code resides?14:59
kiallJust dialling into a call - be back in a few mins!14:59
*** briancline has joined #openstack-dns14:59
justinsbOn that subject... is there a plan to cope when users do create a domain that isn't theirs, and then the legitimate owner wants to create it as well?15:15
*** justinsb has quit IRC15:47
*** justinsb has joined #openstack-dns15:48
*** vinodmr has quit IRC15:53
*** tsimmons has joined #openstack-dns16:02
*** tsimmons has quit IRC16:02
*** cflmarques has quit IRC16:04
*** tsimmons has joined #openstack-dns16:04
*** tsimmons has quit IRC16:05
*** tsimmons has joined #openstack-dns16:05
kialljustinsb: there's very little we can do there.. automating the process of determining who really owns a domain is .. hard.16:12
kiallCloudFlare have an interesting "trick" to make it doable for them, but it's just not something we could distill into Designate in a way that everyone can use it..16:12
*** dkehn_ has joined #openstack-dns16:21
*** dkehn has quit IRC16:22
*** cflmarques has joined #openstack-dns16:36
*** dkehn has joined #openstack-dns16:36
*** dkehn_ has quit IRC16:37
*** tsimmons has quit IRC16:52
cflmarqueshi guys. how can I enable designate-sink?16:53
cflmarquessorry, stupid question!!!  "desigante-sink"17:04
simonmcccflmarques: see https://github.com/stackforge/designate/blob/master/etc/designate/designate.conf.sample#L93 & the config that starts here: https://github.com/stackforge/designate/blob/master/etc/designate/designate.conf.sample#L11317:11
simonmcconce it's configured, you just need to start the designate-sink process so that it collects the events17:11
cflmarquessimonmcc: thank you17:13
*** cflmarques has quit IRC17:17
justinsbkiall: What's CloudFlare's trick?  I was trying to think of solutions.  I think we can have a large number of IPs, which sucks.  Or I think we can have multiple DNS names for the same IPs, and check that the domain has set the nameservers to the matching name(s).17:29
kialljustinsb: their trick is to use multiple names for the same IP17:33
kiallthen query whois data and see which 2 of the 100 possible names are in whois.. Giving them a 9.9k unique combinations to verify which end user actually made the whois changes17:35
justinsbkiall: That seems like a good option.  Any reason that can't be implemented in Designate?17:35
kiallBut distilling that into some anyone can do is difficult.. Basically, We can't ask customers to change their DNS entries until we're actually serving the correct zone.17:36
kiallI have no clue how CloudFlare manages to make it work!17:36
kiallIf two customers register the same domain at the same time, which set of records do we publish? There will always be lag between whois updating, and Designate noticing..17:37
kiallSo - we have to serve something.. If we serve the wrong thing, we're in trouble :)17:37
justinsbGood point.  I'll ponder!17:37
kiallNothing like pointing a customers domain to a competitors, even for a few seconds, to feel the pain ;)17:37
kiallAnd - anyway - I'd feel awkward making that a requirement..17:38
justinsbI was thinking we could have an 'approved' flag on the domain17:39
justinsbAnd then a plugin that would verify17:39
justinsbSome people would auto-approve, some would use whois tricks, some would use email, some would probably want a fax :-)17:39
justinsbI wonder if CloudFlare works because everyone gets the same IPs for HTTP load balancers17:40
justinsbThey just use whois to determine where to redirect the HTTP requests17:40
kialljustinsb: interesting, I'm not sure we could make the CloudFlare trick work for that.. But we could certainly make approval based on factors other than the nameserver names work17:40
kiallThe other option here is..17:41
kiallMultiple pools of DNS servers, where domains are scheduled onto a pool.. Just like Nova instances are scheduled onto a compute node17:41
kialldomains with duplicate names could be scheduled to a different set of DNS servers..17:41
kiallThere would obv be a fairly low number of duplicates allowed (nowhere near the 10k that CloudFlare can manage..)17:42
kiallBut, combining that with your idea would allow a domain to be suspended after, say, 7 days, should whois not be updated..17:43
justinsbOh... I like the auto-suspend idea.17:43
justinsbBecause without that, we're sort of just kicking the can down the road17:43
kiallWhen I *finally* get a chance to get back to designate code rather than some internal stuff that's been chewing my time, pools are among the first items on my list (as part of the V2 API essentially)17:44
justinsbCool - well, I look forward to seeing it!17:44
justinsbI might experiment with the 'approved' flag on a domain17:44
justinsbSee what tricks I can come up with!17:44
kiallYea... Once a domain is suspended, we would purge it from the backend DNS servers .. "Resuming" it would re-populate the backend..17:44
kiallThere's still 1 more difficutly.. If a customer zone is suspended due to, for example, non payment.. we absolutely need to resume it on the same set of DNS servers17:45
kiallAnyway - I don't think that would have any effect on the 'approved' (verified?) suggestion you have :)17:46
justinsbAnother good point!  I guess though, that if a customer hasn't verified, then we don't have to offer the same guarantees17:47
kiallActually - This might tie in with the work mugsie is doing at the moment17:49
kiall2 sec17:49
kiallhttps://dl.dropboxusercontent.com/u/1400487/graphviz-fd80799c9423325e8616080d6ae7d1af8a96b5f6.png17:49
kiallThat was an initial state machine I drew up for domains ..17:50
kiallAnother state, "pending verification" (or something) could be intoduced.17:50
kiallintroduced*17:50
kiallmugsie: about?17:51
*** shakayumi has joined #openstack-dns17:52
*** tsimmons has joined #openstack-dns17:52
mugsiehey18:00
mugsiekiall: justinsb yeah, we could add that as part of the create domain flow18:01
mugsiepending_verification -> pending -> active18:03
mugsieor pending_verification -> active ?18:03
kiallYea.. The naming get.. Confusing ;)18:04
mugsiewell, where is the verification done?18:04
mugsiebackend / central ?18:04
mugsiethats what is going to decide that18:05
kiallAnyway, I think the whole idea deserves some more thought.. It'd be a pretty big change :)18:05
mugsieyeah... every time i go to write code for this ... something else pops ;)18:05
mugsiepops up*18:05
kiallcentral would do it, and until the zone is verified (via some plugin), no records etc would hit the backends..18:05
kiallSo .. bigger change than I would have hoped!18:05
mugsieyeah18:06
mugsiei think that would be a separate blueprint to what I am currently doing18:06
mugsieit definitly feeds in, but maybe at a later stage18:06
kiallYea, I think so too..18:09
*** dkehn is now known as dkehn_away18:44
*** tsimmons has quit IRC19:30
*** vipul is now known as vipul-away19:41
*** vipul-away is now known as vipul20:01
*** dmakogon_ has joined #openstack-dns20:53
*** dkehn_away is now known as dkehn21:11
*** msisk has quit IRC21:47
*** openstackgerrit has quit IRC21:48
*** openstackgerrit has joined #openstack-dns21:48
*** ChanServ sets mode: +v openstackgerrit21:48
*** tsimmons has joined #openstack-dns22:02
*** tsimmons has left #openstack-dns22:02
*** dmakogon_ has quit IRC23:03
*** vipul is now known as vipul-away23:37
*** vipul-away is now known as vipul23:44

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!