On 1/3/17 2:08 AM, Varadhan Work wrote:
Hello,

Is it legal to have SIP domain name in SIP packet with only one single part
without top level domain name ?

In general domain name syntax

*A domain name consists of one or more parts, technically called labels,
that are conventionally concatenated, and delimited by dots, such
as example.com <https://en.wikipedia.org/wiki/Example.com>.*
Which means, can it be specified with one part in SIP ?

Do you mean something like <sip:foo@bar>?

It is *syntactically* acceptable. But it is likely to be operationally problematic.

Such a name is expected to be qualified by a local domain name that is supplied in the environment where it is being resolved. This could work as long as every element that needs to resolve it uses the same default. But, except in a very carefully controlled closed environment it will be difficult to ensure that.

And then there is <sip:foo@bar.>. The trailing dot prevents it from being qualified, so it is unambiguous, with "bar" being a TLD. But in general you won't have sip servers running directly in a TLD, so this of no practical interest.

        Thanks,
        Paul

_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors

Reply via email to