Products
- Sentinel 100
- Sentinel 400
- Mediatrix S7 and S7 LP Series
- Mediatrix G7 Series
- Mediatrix C7 Series
- Mediatrix 4100 Series
- Mediatrix 3000 Series
- Mediatrix 4400 Series
- Mediatrix LP Series
If the configuration of the DNS used with a Mediatrix Gateway is not done properly, it may cause delays. Therefore, understanding how DNS servers are used by the system will help to properly configure your DNS.
Up to four DNS servers can be used to resolve network names. The DNS servers can be specified statically or obtained automatically (for example through DHCP or PPP). DNS query results are cached on the system to optimise name resolution time. When the SOA record is processed, the Primary DNS server is never blacklisted when the authority server times out or fails, so the device will continue with SRV/A/AAA requests using the primary DNS server.
By default, the device starts first with an NAPTR request and continues with SRV and A-Record requests. This behavior is configured via the SipEP.SupportedDnsQueries parameter (SIP/Misc/DNS/Supported DNS Queries in the DGW Web interface).
In the eventuality of a DNS query timing out because of a server going down or an invalid server address provided by the user, the faulty server is marked as down. It will no longer be used to issue queries for a specified period of time. The amount of time increases depending on the number of valid DNS servers which is by default: 30 seconds times the total number of valid servers. Before sending a query, the downtime for each server is checked and the blacklisting flag is removed if the time interval has been reached, making it available to send the query.
When the device is restarted, several services start before the SIP service (e.g. NTP and CWMP) which may result in the blacklisting of one more DNS servers. A blacklisted DNS server might have records for the SIP service, which are not available (for any reason) on the other listed DNS servers. In this case, the blacklisted DNS server will not be requested for SIP URLs and therefore the SIP registration might not work, until the server is removed from the blacklist. Refer to DNS Server Configuration Best Practices.
To avoid delays when using DNS servers with a Mediatrix gateway, follow these simple best practices:
Best Practice
Reason
Make sure all SIP related URLs are available on the secondary DNS servers as
well.
When the device is restarted, several services start before the SIP service
(eg. NTP, CWMP). A blacklisted DNS server might have records for the SIP service,
which are not available (for any reason) on the other listed DNS servers. In this
case, the blacklisted DNS server will be requested for SIP URLs and therefore the
SIP registration might not work, until the server is unlisted.
If handling SIP in IPv4 only, configure the
SipEp.DnsIpVersion parameter (not in the Web page). For
more details, refer to the
Reference Guide
published on our
documentation portal.
Even if we set the DNS request to Address (A) only, delays can occur because
the device also does, by default, an AAAA request (IPv6).
If your DNS server does NOT use NAPTR or DNS SRV, you should consider using
SipEP.SupportedDnsQueries=Address in your configuration.
Each NAPTR and SRV request can take up to a few seconds on busy networks.
This delay can be doubled if using registration with authentication.
If you maintain your own DNS infrastructure, avoid CNAME records.
If you are not familiar with the meaning of the fields and buttons, click Show Help, located at the upper right corner of the Web page. When activated, the fields and buttons that offer online help will change to green and if you hover over them, the description will be displayed.
Mediatrix units are supplied with an exhaustive set of documentation.
Mediatrix user documentation is available on the Documentation Portal .
Several types of documents were created to clearly present the information you are looking for. Our documentation includes:
Copyright © 2019 Media5 Corporation.
This document contains information that is proprietary to Media5 Corporation.
Media5 Corporation reserves all rights to this document as well as to the Intellectual Property of the document and the technology and know-how that it includes and represents.
This publication cannot be reproduced, neither in whole nor in part, in any form whatsoever, without written prior approval by Media5 Corporation.
Media5 Corporation reserves the right to revise this publication and make changes at any time and without the obligation to notify any person and/or entity of such revisions and/or changes.