You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, May 9th 2005, 9:06pm

DNS SRV RRs for kio_*

I noticed a minor definiciency in the various KIO libraries in that they don't bother with DNS SRV records. I'm guessing that the new Zeroconf one must, but the rest don't appear to.

The rationale... DNS supports a record type called SRV which is, until recently, largely unused. The idea of an SRV record is that it would permit the user to request the location of a particular service on a host/domain. For example, if you wanted to find the HTTP port at yourdomain.tld, you'd look up the SRV record for _http._tcp.yourdomain.tld and get a list of servers AND port numbers that you can attempt to connect to. The advantage being that DNS could have multiple hosts listed, and that if they were to use a non-standard port, you'd know. No more http://yourdomain.tld:1234/ , the browser would knw which IP and which port.

First-off, I've not been able to find out if anyone is already working on this. Second, is there anyone interested in helping me make this a reality?

2

Tuesday, May 10th 2005, 6:09am

...how is this different then Zeroconf?

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

3

Tuesday, May 10th 2005, 1:39pm

I think DNS stuff is handled in some classes in KDE Libs and the current maintainer is Thiago Macieira.

You could contact him and/or the developer working ZeroConf.

Cheers,
_
Qt/KDE Developer
Debian User

4

Tuesday, May 10th 2005, 2:40pm

Not quite the same...

Zeroconf is a little bit different. It makes use of the DNS SRV records, but it's a discovery protocol for local broadcast...

What I'm talking about is making sure that kio_http, kio_ftp, etc. use the DNS SRV records too. When you type a URL into konqueror, it ought to look up the SRV records first, then the A or CNAME (many applications do this already, Jabber being a good example).

This uncouples the port from the service, which has a lot of nice features... In theory, IE and Mozilla are supposed to be configurable to do this too, but I've not looked into it.