Skip to Content
The IMS: IP Multimedia Concepts And Services, Second Edition
book

The IMS: IP Multimedia Concepts And Services, Second Edition

by Miikka Poikselka, Georg Mayer, Hisham Khartabil, Aki Niemi
March 2006
Intermediate to advanced
464 pages
12h 16m
English
Wiley
Content preview from The IMS: IP Multimedia Concepts And Services, Second Edition

16.4. Service records (SRV RRs)

Before service records (SRV RRs) are introduced an entity must know the exact address of a server to contact for a service. With the introduction of SRV RRs in [RFC2782], DNS clients can query a domain for a service or protocol and get back the names of servers. Administrators can use SRV RRs to distribute the load by using several servers to service a single domain. The DNS-type code for SRVs is 33.

The format of an SRV record is as follows (Table 16.2 describes each field in detail):

_Service._Proto.Name TTL Class SRV Priority Weight Port Target

16.4.1. SRV example

Continuing with the example, the SRV RR looks like:

Service, Proto, NameTTLClassRecord typePriorityWeightPortTarget
_sip._tcp.example.com7200INSRV015060server1.example.com
 7200INSRV035060server2.example.com

In this example the client of the SIP service in the "example.com" domain performs an SRV look-up of "_sip._tcp.example.com" followed by an A record look-up for "server2.example.com".

Table 16.2. SRV RR fields.
FieldDescription
ServiceService identifier. An underscore "_" is pre-pended
ProtoDesired protocol. An underscore "_" is pre-pended
NameThe domain of the SRV record
TTLTime to live
ClassClass of record (SRV records are of class IN, or Internet)
SRVIdentifies the entry as an SRV RR
PriorityThe priority of the target host in this record. Clients with lowest numbered priority are tried first. Weight (see below) is used if more than one record carries the same priority
WeightDenotes a relative ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

THE IMS: IP Multimedia Concepts and Services, 3rd Edition

THE IMS: IP Multimedia Concepts and Services, 3rd Edition

Miikka Poikselkä, Georg Mayer
Developing SIP and IP Multimedia Subsystem (IMS) Applications

Developing SIP and IP Multimedia Subsystem (IMS) Applications

Edward Oguejiofor, Philippe Bazot, Bruno Georges, Rebecca Huber, Jochen Kappel, Callum Jackson, Cameron Martin, Bala S. Subramanian, Abhijit Sur
IPTV Delivery Networks

IPTV Delivery Networks

Suliman Mohamed Fati, Saiful Azad, Al-Sakib Khan Pathan

Publisher Resources

ISBN: 9780470019061