Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9073431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T18:24:56+00:00 2026-06-16T18:24:56+00:00

This may look like a very simple question, but I haven’t found the answer

  • 0

This may look like a very simple question, but I haven’t found the answer on the Internet.

Anyone can give me clues how to performs a NAPTR query for a SIP domain? (this is mostly for DNS lookup), or any references also great for me (This one exist on rfc2915).

Maybe using terminal or any tools maybe and further i’d like to do it using java so if any piece of code will very helpful.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T18:24:57+00:00Added an answer on June 16, 2026 at 6:24 pm

    The RFC you are looking for is "Session Initiation Protocol (SIP): Locating SIP Servers".

    Here’s an abbreviated summary of how to select the transport protocol and resolve the SIP server address.

    1. If transport parameter is specified it takes precedence,
    2. If no transport parameter and target is an IP address then sip should use udp and sips tcp,
    3. If no transport parameter and target is a host name with an explicit port then sip should use udp and sips tcp and host should be resolved using an A or AAAA record DNS lookup (section 4.2),
    4. If no transport protocol and no explicit port and target is a host name then the client should do an NAPTR lookup and utilise records for services SIP+D2U, SIP+D2T, SIP+D2S, SIPS+D2T and SIPS+D2S,
    5. If NAPTR record(s) are found select the desired transport and lookup the SRV record,
    6. If no NAPTR records are found lookup SRV record for desired protocol _sip._udp, _sip._tcp, _sips._tcp, _sip._tls,
    7. If no SRV records found lookup A or AAAA record.

    In the real World virtually no SIP providers use NAPTR records, probably half or less use SRV records and the rest rely solely on A records. In my own SIP software I turned off the NAPTR lookup since it just wasted time and it’s highly likely that if a SIP provider has bothered to set up NAPTR records they are also going to have set up the standard SRV records.

    In hindsight the SIP protocol designers should probably have left the whole SIP server address resolution alone and let implementers use standard IP load balancing and failover mechanisms. Because SIP clients don’t all support SRV records, again in my experience less than half, using such records is better than nothing but is not a great solution for failover or load balancing.

    If you are looking for a hostname with SIP NAPTR records try columbia.edu and snom.com last time I checked they both had some.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This may be a simple question but I can;t find the answer anywhere. Here
This may sound like a very generic question but here it goes. I have
I'm sure this has a very simple answer, but I can't seem to find
This may look like an easy question for some of you, but I'm not
I know this question was asked for many times, and it may look like
This may be a very stupid question, but... I'm using JPA 2.0 with Hibernate
(At first glance this may look like a duplicate of Different execution plan when
This may be a stupid question but I have a code with the following
this may sound pretty straight forward, but still I want to post this question
This may seem a bit crazy, but if you can tell me a better

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.