SIP server name doesn't resolve
Before a SIP client can send anything it has to turn the server's name into an address. Three answers stop it at that point. NXDOMAIN means the name does not exist in public DNS. SERVFAIL means the resolver tried and could not get a usable answer from the domain's own name servers. A timeout means no answer came back at all.
For callers the outcome is the same: the call fails before it starts, often logged as a generic network error. The cause differs a lot, from a typo or a lapsed domain registration, through broken DNSSEC or dead name servers, to a name that only exists inside one company's network and was handed to someone outside it.
What the records look like
$ dig sbc.example.com
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 20854
$ dig sbc.example.com
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 55297Messages you may see
** server can't find sbc.example.com: NXDOMAIN** server can't find sbc.example.com: SERVFAIL;; communications error to 192.0.2.1#53: timed outlookup sbc.example.com on 127.0.0.53:53: no such hostlookup sbc.example.com on 127.0.0.53:53: server misbehaving
Common causes
- The name is misspelled in the trunk or peer settings, often with a missing label or a stray dot.
- The domain registration has expired, so its name servers no longer answer for it.
- The domain's name servers are down, unreachable, or disagree with each other, which ends in SERVFAIL.
- A DNSSEC signature has expired or a key rollover went wrong, and validating resolvers refuse the answer.
- The name exists only in an internal or split-horizon zone and is being looked up from outside that network.
How to fix it
- Read the status line of a dig query first, since NXDOMAIN, SERVFAIL and a timeout lead to different fixes.
- For NXDOMAIN, check the spelling and then the domain's registration and expiry date.
- For SERVFAIL, query each of the domain's name servers directly and compare their answers.
- For a timeout, test another public resolver to tell a local resolver problem from a remote one.
- Publish a public name for any SIP server that partners outside your network have to reach.
How the free check shows it
A name that does not exist stops the free check with "That name doesn't exist in DNS." and a link here, and SERVFAIL or a timeout read "We couldn't resolve that hostname." with the same link. The check resolves through public resolvers, so it sees what a carrier on the internet would see. On a monitored Route a lookup failure fails the line check, Config shows the name as not resolving with its last known addresses, and PingVo can warn you before the domain's registration expires.
Questions
Why does the name resolve on my laptop but not in your check?
Your laptop may use a company resolver that knows internal names or caches an old answer. Public resolvers only see what the domain publishes on the internet.
Can a domain that has expired still resolve for a while?
Yes. Resolvers keep cached answers until their TTL runs out, so an expired domain can fade out unevenly over hours or days, which makes the failure look random.
Is SERVFAIL my fault or the resolver's?
Usually the domain's. SERVFAIL most often comes from the domain's own name servers or its DNSSEC setup, but trying a second public resolver rules out a local fault.