[Openstack] Designate /DnsaaS

claudio claudio at onesource.pt
Fri Aug 23 16:27:46 UTC 2013


Thank you so much for your help.

I just have one question. I've already created a server, a domain and a  "A"
record, then I used the Google's IP for this record. I  ping  this record
and nothing appends. Am I doing something wrong?

Just for a better explanation, this is what I have done so far:

With the HTTP client from google

Created a server:

Host: example.com
Accept: application/json
Content-Type: application/json

{
  "name": "ns1.example.org."
}
response is :

{

"servers":[
{
	"created_at":"2013-08-22T22:04:59.774331",
	"updated_at":null,
	"name":"ns1.exemplo.org.",
	"id":"42368625-8691-47ec-9219-47b000cc04ac"
}
]
}

Now I created a domain

Host: example.com
Accept: application/json
Content-Type: application/json

{
	  "name": "domain1.com.",
 	 "ttl": 3600,
  	"email": "nsadmin at example.org"
}
Response 

{

"domains":[
    {
	"description":null,
	"created_at":"2013-08-22T22:09:15.322631",
	"updated_at":"2013-08-22T23:27:11.736447",
	"email":"nsadmin at example.org",
	"ttl":3600,
	"serial":1377214031,
	"id":"bb72b2e7-75b6-4d18-b8f8-b13c5e5da8ae",
	"name":"domain1.com."
    }
]
}

Finally a Record

Host: example.com
Accept: application/json
Content-Type: application/json

{
  "name": "www.example.com.",
  "type": "A",
  "data": "74.125.224.72"
}
Response:

{

"records":[
{
	"name":"www.domain1.com.",
	"data":"74.125.224.72",
	"created_at":"2013-08-22T23:27:11.655047",
	"updated_at":null,
	"id":"c1789964-0d7d-4b1f-b0f2-af1e109500de",
	"priority":null,
	"ttl":null,
	"type":"A",
	"domain_id":"bb72b2e7-75b6-4d18-b8f8-b13c5e5da8ae",
	"description":null
    
}
]
}



If I ping www.domain1.com. should't ping Google?

This ping is from the machine that as DESIGNATE installed. Should't in
theory DESIGNATE resolve  this Record?

Probably Someting is missing me here.



Thank you for you enormous patience.



Cheers


Claudio Marques

claudio at onesource.pt

http://www.onesource.pt/


-----Mensagem original-----
De: Mac Innes, Kiall [mailto:kiall at hp.com] 
Enviada: 23 de agosto de 2013 16:50
Para: claudio
Cc: openstack at lists.openstack.org
Assunto: Re: [Openstack] Designate /DnsaaS

There is also the CLI -
https://github.com/stackforge/python-designateclient/

Thanks,
Kiall

On 23/08/13 14:08, claudio wrote:
> Hi Kiall
> 
> Good news then, work in progress. 
> In that case I will continue to explore DESIGNATE with HTTP client or
Curl.
> 
> Thanks a lot
> Cheers
> 
> Claudio Marques
> 	
> -----Mensagem original-----
> De: Mac Innes, Kiall [mailto:kiall at hp.com]
> Enviada: 23 de agosto de 2013 13:26
> Para: claudio
> Cc: 'Simon McCartney'; openstack at lists.openstack.org
> Assunto: Re: [Openstack] Designate /DnsaaS
> 
> Hey Cláudio,
> 
> Yes and No .. There is a fork of Horizon[1] where we have really basic 
> integration (Create, List, Delete domains - No support for records 
> etc)
> 
> Once we get this a little more complete, We we're going to figure out 
> how to make it an actual horizon plugin rather than a fork :)
> 
> Thanks,
> Kiall
> 
> [1]: https://github.com/moniker-dns/horizon/
> 
> On 23/08/13 13:04, claudio wrote:
>> Hello guys
>>
>> I appreciate your help with DESIGNATE and your patience.
>>
>> Is there any plugin to integrate designate in Horizon?
>>
>> Cheers
>>
>> Cláudio Marques
>>
>> claudio at onesource.pt
>>
>> http://www.onesource.pt/
>>
>> *De:*Simon McCartney [mailto:simon at mccartney.ie]
>> *Enviada:* 22 de agosto de 2013 18:37
>> *Para:* claudio at onesource.pt
>> *Assunto:* Re: [Openstack] Designate /DnsaaA
>>
>> Do you mean in conjunction with the notifications sink (where records 
>> are created or deleted in response to instance create/delete events) 
>> in which case the domain to be used is set in the designate.conf 
>> file, and is global, not currently configurable per tenant.
>>
>> On 22 August 2013 17:05, <claudio at onesource.pt
> <mailto:claudio at onesource.pt>> wrote:
>>
>> Hi Stackers
>>
>> Is there anyone that have some experience with designate?
>>
>> I can create domains servers and records but I am a bit stuck. How 
>> can allocate a domain to a specific Tenant/project?
>>
>> Can anyone help-me in this?
>>
>> Thank's
>> Cheers
>>
>> Claudio Marques
>>
>> claudio at onesource.pt <mailto:claudio at onesource.pt> 
>> http://www.onesource.pt/
>>
>>
>> _______________________________________________
>> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
> <mailto:openstack at lists.openstack.org>
>> Unsubscribe : 
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>>
>>
>> --
>>
>> Simon McCartney
>>
>> E: simon at mccartney.ie <mailto:simon at mccartney.ie>
>>
>> M: +44 7710 836915
>>
>> _______________________________________________
>>
>> Claudio,
>>
>> Hey, maybe I am not understanding your question, but whatever tenant 
>> you are using to create domains and domain records, that is the one 
>> allocated to that tenant.
>>
>> Regards,
>>
>> Patrick
>>
>> _______________________________________________
>>
>> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
> <mailto:openstack at lists.openstack.org>
>> Unsubscribe : 
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
> 
> 





More information about the Openstack mailing list