[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [Fwd: [regrep] DNS-SD configuration documentation]
FYI - this may be of interest to UBL. The methodology would allow DNS based service discovery to access all registries. This would make UBL schemas and extensions as ubiquitous as http proxy services. Duane -------- Original Message -------- Subject: [regrep] DNS-SD configuration documentation Date: Thu, 22 Apr 2004 12:54:13 -0300 From: Matthew MacKenzie <mattm@adobe.com> To: regrep@lists.oasis-open.org -- Senior Standards Strategist Adobe Systems, Inc. http://www.adobe.comI've attached documentation of steps I took to get DNS-SD working for ebXML Registry. Comments are welcome.
The primary goal of this investigation is to validate that ebXML Registries can be discovered using DNS based Service Discovery, which has been made popular by Apple's Rendevous technology, as well as ZeroConf.
The secondary goal is to allow the configuration to be reproduced easily using ubiquitous tools (BIND, nslookup, dig).
Given a domain name, "esd.geek.ca", user needs to be able to:
To meet the use case above, we need to store the HTTP Binding URL path in a DNS TXT record, and the actual HTTP port and hostname in a SRV record.
/etc/named.conf
/etc/named.conf options { directory "/var/named"; }; zone "." { type hint; file "named.root"; }; zone "esd.geek.ca" { type master; file "db.esd.geek.ca"; }; zone "_tcp.esd.geek.ca" { type master; file "db._tcp.esd.geek.ca"; };
/var/named/db.esd.geek.ca
$TTL 1h esd.geek.ca. IN SOA a.ydcorp.com. matt.ydcorp.com. ( 2004041800 ; Serial 3h ; Refresh 1h ; Retry 7d ; Expire 1d ) ; Minimum TTL IN NS a.ydcorp.com. IN A 65.39.171.216 IN TXT "Geek.ca ESD" Entity\032Management IN A 65.39.171.216 Entity\032Management TXT "HttpBinding=/http-binding" Entity\032Management SRV 0 0 8080 mac-kenzie.net. Partner\032Management IN A 65.39.171.216 Partner\032Management TXT "HttpBinding=/http-binding" Partner\032Management SRV 0 0 8080 mac-kenzie.net.
/var/named/db._tcp.esd.geek.ca
$TTL 1h _tcp.esd.geek.ca. IN SOA a.ydcorp.com. matt.ydcorp.com. ( 2004041800 ; Serial 3h ; Refresh 1h ; Retry 7d ; Expire 1d ) ; Minimum TTL IN NS a.ydcorp.com. IN A 65.39.171.216 IN TXT "Geek.ca Enterprise Service Discovery" _ebreg IN PTR Entity\032Management.esd.geek.ca. _ebreg IN PTR Partner\032Management.esd.geek.ca.
nslookup -sil -q=ptr _ebreg._tcp.esd.geek.ca
Output:
Server: 127.0.0.1 Address: 127.0.0.1#53 _ebreg._tcp.esd.geek.ca name = Entity\032Management.esd.geek.ca. _ebreg._tcp.esd.geek.ca name = Partner\032Management.esd.geek.ca.
nslookup -sil -q=any "Entity\032Management.esd.geek.ca"
Output:
Server: 127.0.0.1 Address: 127.0.0.1#53 Name: Entity\032Management.esd.geek.ca Address: 65.39.171.216 Entity\032Management.esd.geek.ca text = "HttpBinding=/http-binding" Entity\032Management.esd.geek.ca service = 0 0 8080 mac-kenzie.net.
From these two queries, we have everything that is needed to connect to the server's HTTP
binding. Host, Port, HTTP path.
___________________________
Matthew MacKenzie
Senior Architect
IDBU Server Solutions
Adobe Systems Canada Inc.
http://www.adobe.com/products/server/
mattm@adobe.com
+1 (506) 871.5409
To unsubscribe from this mailing list (and be removed from the roster of the OASIS TC), go to http://www.oasis-open.org/apps/org/workgroup/regrep/members/leave_workgroup.php.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]