Using SRV records in DNS
Improving the Internet is an important task. I see much improvement by using
SRV records in DNS.
what are SRV records?
Basically just another type of RRs that can be used for your domain. You simply
need to add them to your existing DNS zone files to make this work.
Besides being hip and cool you get a great deal of new features!
what do SRV records look like?
basically they describe a service and return a port (service) and a name to the
client. But let us have a look at an example:
_http._tcp SRV 0 0 80 webserver.example.com.
webserver IN A 188.8.131.52
This very simple example does nothing else than -- provided that your browser
is aware of SRV records -- convert your query for http://example.com to
_http._tcp.example.com and then ask your DNS server for this name.
The answer it gets (if you want to know what the two zeros do, read
rfc2782!) basically tells him to look at
webserver.example.com (which resolves to 184.108.40.206 via normal A
record) using port 80.
Considering this simple example you might notice that you can use DNS for
service redirection in any way you like. You may even specify several SRV records
for one service and provide load balancing information... all in all you can only
where can I get further information?
First this is a standard described in rfc2782. You might
also find http://dns.vanrein.org/srv/
what can I do to support this idea?
(1) add SRV records to your DNS.
(2) ping your software vendor to support this!
It is a pitty that this simple protocol extension is not widely implemented yet.
I voted for using SRV records
in KDE/Konqueror! It seems that this is already integrated into
-- great work!
There is a great FTP command line client available that uses these records:
LFTP. It is available for Debian users via apt.
(There is just one thing: to use those SRV records add a line 'set dns:SRV-query y'
This page is maintained by Adi Kriegisch.