-
Website
http://www.scripting.com/ -
Original page
http://www.scripting.com/stories/2009/09/20/dnsForRssFeeds.html -
Subscribe
All Comments -
Community
-
Top Commenters
-
eas
55 comments · 4 points
-
AndrewBurton
134 comments · 10 points
-
Michael Markman (Mickeleh)
154 comments · 15 points
-
Rex Hammock
52 comments · 9 points
-
malatmals
81 comments · 3 points
-
-
Popular Threads
-
Open is in the eye of the beholder. (Scripting News)
1 day ago · 13 comments
-
Store Twitter URLs in earth's oceans? (Scripting News)
3 days ago · 16 comments
-
Why today's Twitter is like Napster in Y2K. (Scripting News)
4 days ago · 15 comments
-
If you wrote the words you own the copyright. (Scripting News)
3 days ago · 7 comments
-
How open standards are created. (Scripting News)
6 days ago · 11 comments
-
Open is in the eye of the beholder. (Scripting News)
And so I could learn more.
DNS-SD stands for "DNS Service Discovery". It's a general way to find all kinds of services associated with a DNS name.
_http._tcp.andrewtj.com. PTR AndrewTJ's\032RSS\032Feed
_http._tcp.andrewtj.com. PTR AndrewTJ's\032FriendFeed
_http._tcp.andrewtj.com. PTR AndrewTJ's\032Twitter
\032 is how a space is encoded in a DNS name so the above would display a list like:
AndrewTJ's RSS Feed
AndrewTJ's FriendFeed
AndrewTJ's Twitter
Subtypes of services are also catered for - if you were just after RSS only you could look up _rss._sub._http._tcp.andrewtj.com, eg:
_rss._sub._http._tcp.andrewtj.com. PTR AndrewTJ's\032RSS\032Feed
To then resolve the service you grab the TXT and SRV records the PTR points to:
AndrewTJ's\032RSS\032Feed._http._tcp.andrewtj.com. SRV 0 0 80 andrewtj.com.
AndrewTJ's\032RSS\032Feed._http._tcp.andrewtj.com. TXT path=/rss.xml
Under DNS-SD only the target and port from the SRV record are used, in this case — andrewtj.com on port 80. The TXT record contains key=value pairs which are service-specific. In the case of _http._tcp., 'u' and 'p' have been defined for use as username and password key names along with 'path' for the path. The end result: http://andrewtj.com:80/rss.xml
More information on DNS-SD can be found at dns-sd.org.
Disclosure: I'm building a DNS-SD Firefox extension (bonjourfoxy.net) and a DNS-SD hosting service (globalhostname.com) so I happen to think DNS-SD is kinda neat ;)
I just published a post explaining why I think NAPTR is much better than TXT for this: http://rikkles.blogspot.com/2009/09/rsscloud.html
Essentially, NAPTR gives the following advantages:
- service type and protocol
- order and preference
- regex replacement (not just mapping)
NAPTR works on any TLD as well.
I'd be interested to know your thoughts as to the relative advantages of DNS-SD and NAPTR.
And my own Disclosure: I work with Telnic, the registry for .tel. .tel domains extensively use NAPTR records for discovery of communication channels (any URIs, essentially)
This is the approach favored by IAB, in RFC 5507, "Design Choices When Expanding DNS"
Or are you planning to use it as a directory for all the URL's your twitter feed lives at???
I don't know what the practical applications are of this.
I put it up so we could start to have a discussion about it.
I tried every way I could to say it's experimental and a proof-of-concept.
A few people working on OpenFF have indeed floated the DNS idea for use in distributed social networking. This is proof that the concept works.
There's been alot of chater lately ( from you included) around the idea of backing up your twitter stream to more than one place so that in the moderately likely senario of twitter.com going down, you can continue tweeting. This DNS concept of yours can be used to store all those places under one URL. :)
You can store your feed in a TXT record under a domain name. If you move from 140char Client1 to 140char Client2, you can change your TXT record from feed1 to feed2 and the aggregators that are paying attention won't be required to notice the change. They'll just deal with it. You can change services without your friends having to follow around manually.
As for handling situations where other TXT records exist under that domain... It's up to the aggregator to know what a feed is/isn't and if it is/isn't cloud enabled. We'll just grab them and check.
"It worked. The sub-domain connectme.supercloud.org now maps to http://twitter.com/statuses/friends_timeline/61...
Now...when I try to visit http://connectme.supercloud.org I get a 404 message.
I'm working on plumbing issues for RSS. I'm looking for ways to get a GNIP-type experience to ensure the delivery of the latest RSS feeds.
Once you have this, an application that is looking for TXT records will know how to translate connectme.supercloud.org to whatever feed is stored as TXT.
that DNS isn't set up to do this, that a domain can't redirect to a
specific URL but people expect it to.
Anything where the user only needs to know one thing (their address) and the technology (browser/cloud app) figures the rest out seamless is a good way to start.
2. Why TXT and not NAPTR?
3. I suggest we could use different enumservice types for RSS feeds and OPML, i.e. x-rss and x-opml. That way aggregators could resolve andy.tel to my feed(s) and OPML reading list(s).
4. I also suggest aggregators use a convention such that they first check the root (e.g. andy.tel) for NAPTRs with the service types x-rss and x-opml. They should also check for a non-terminating NAPTR called 'rss', in which case they should also look for x-rss and x-opml NAPTRs in rss.andy.tel. The highest priority records should be used by default (root preferred), and hints provided to the user if others were found.
5. "Social networking federation: why not use .tel?" http://community.zdnet.co.uk/blog/0,1000000567,...
Edit: 6. It'd also be nice if we could do reverse lookups on feeds (useful for things like search indexers), and perhaps the <author> element could be adopted for this, e.g. <author>andy.tel</author>
Don't reinvent the wheel - .tel has simplicity, stability and interoperability with other services.
Give me a hug! :-)
not a telephone number. I don't see the connection. I think I've said
that many times before, but on the chance that I didn't -- there it
is.
I urge you to try out davewiner.tel (login credentials are in your inbox) and then we can discuss it.
The information on the .tel is just what you've chosen to share about you which points elsewhere, other domains, or methods of contact, phone, postal mail, etc.
Any capable user with a domain, using DNS, and HTTP can do what .tel does today.
I'll further add, any new ccTLD or gTLD is not going to add/do anything which cannot already be done today.
mean I get it, in that I understand how DNS works, and they've got a
nice web app for editing my DNS profile, but I don't see what's so
special about .tel.
And there's is going be a lot of confusion about .tel and telephones.
What people think matters -- esp with a bootstrap which is clearly
what .tel is. It won't be what it promises to be until we all buy into
it. That's why we're getting such a sales pitch here, I think.
Everyone is just trying to make nice things out of prior art. :)
But you said it right there. "they've got a nice web app for editing my DNS profile";
So to some degree they just lowered another barrier for people who do not/cannot/will not run their own Internet enabled vCard and they also just happened to have the right amount of money for ICANN to bless them with control over a TLD.
.tel names are self-evident and can be recognised for their purpose. Whether you think the suffix means telecommunication, telephone, or telegram.. it doesn't seem important enough to matter to me. As was said elsewhere, it could be quietly dropped within an rsscloud context anyway.
You're right that new TLDs require vast amounts of money to create; there's an application fee, operational costs and even cash reserves to consider (ICANN DEMANDS stability, obviously). Oh, and you'd also need a great deal of tenacity (the original application for .tel was submitted in 2000).
If you resent the fact that all of this costs you around 10 bucks a year then I'd say everything has a cost built in somewhere. In this case it's probably a good thing that it's on the front end. I own my .tel domain and all the data within it, I can take it anywhere I like and I don't have to rely upon some third party, whether it be a behemoth or just some guy. That matters.
I'm re-reading 'Another brick in the cloud' in which a solution was invited and the "fight for every inch" [for simplicity] mantra uttered:
http://www.scripting.com/stories/2009/08/06/ano...
I guess I was the one who misunderstood :-)
Just for fun for now at least and since it's about ten minutes worth of work.
At a high level, WebFinger can be used to map "user@domain" do a document describing the user. The document can link to just about anything, so WebFinger can be used to find the user's rss feed, avatar image and other user metadata that might be useful in the 140 char network.
http://twitter.com/statuses/user_timeline/14270...
re-invent myself as a morning person (kid in middle school) and that's
fighting decades of late-nightism ;-)