Note: Windows Servers, if serving DHCP/DNS (e.g. active directory, domain controller), should remain the primary DNS, with some configuration additions. See the Windows Domain Controller section, below.
When setting up your
trixbox Pro
system you may wonder “Why Do I need to use
trixbox Pro
as my Primary DNS Server for my IP phones?”. This document describes each of them in technical detail, as well as alternatives if your network is unable to specify the
trixbox Pro
server as a Primary DNS Server.
The DNS service in the trixbox Pro system is a very high performance DNS server that’s designed to gracefully handle all of the DNS requirements for all of your IP phones, as well as any network of up to 250 computers. It’s using the same proven BIND DNS software used by all of the root DNS servers on the internet. It’s fast, stable, and secure.
If you are unable to change your Primary DNS Server setting to the IP address of your trixbox Pro server, you run the risk of having intermittent problems with your IP phones, as well as a system outage if you have an internet connection failure. Some system administrators desire to use an existing local DNS server because of host names maintained by a Windows Active Directory server. This objection can be overcome by still using the trixbox Pro server as your primary DNS, but setting your Windows server as a DNS forwarder so that the functionality of your current DNS service remains 100% intact. See below.
On many smaller networks, the router or firewall handles DHCP (IP address assignments). On the other hand, if you have a Windows Domain Controller or other third-party DHCP server, see the appropriate section further on.
On the router/firewall:
On the PBX itself:

*-Most routers have a web interface at the router's IP address (e.g. http://192.168.1.1 ). Refer to your router manual. The screenshot to the right shows an old Linksys router -->
Tip for remote phones:
Naturally the above information is only applicable if the phones are on the same physical network as the PBX. If remote phones are having difficulty staying registered, consider reconfiguring their router to use a reliable high-performance primary DNS server such as 8.8.8.8 (Google DNS).
Note that the following additions may not apply to every installation. This effectively adds a static DNS entry for your server to the Windows Domain Controller. That way, if a phone asks the Windows Server "What IP address is 's123...ality.com' at?", the Windows DNS can reply back with the IP address, without having to do a slow DNS lookup to the Internet.
These particular directions were developed on SBS2003-R2, but have been shown to work on many later versions.
For phones to download config updates (such as updated dialplans, new screen names, or new firmware) from the PBX, one must set DHCP-Option 066. This is only applicable on a network with a Windows Domain Controller or Server running DHCP.
Go to Start Menu > DHCP Options > Server Options > right-click and Configure Options > enable (check) boot-server-name 066 > and set it to the IP address of the PBX. That's it! When a phone is restarted, it will now check the PBX for configuration updates.
If the phones are still failing to get configuration updates, put this into DHCP-Option 066 on the Windows Domain Controller to get the phone to use this particular username and password for provisioning:
ftp://PlcmSpIp:PlcmSpIp@serverip
(PlcmSpIp/PlcmSpIp is the Polycom factory-default username & password recognized by the local PBX only)
For more information and workarounds, please refer to Setting the Boot Server (in IP Phones).
(In most cases with Windows Domain Controllers, we recommend using the directions above, under "Domain Controller Changes") However, if needed:
Please read DNS Forwarder
(This has been deprecated in favor of the directions above. However, this section has been retained for reference.)
If you already run a local DNS server, and for political or other reasons you are unable to arrange for the trixbox Pro server to act as your Primary DNS Server, there is one remaining option to provide (almost as much) local reliability. You can define a local zone in your existing DNS server so that sNNNNNN.trixbox.fonality.com will resolve to the correct internal IP address for your trixbox Pro server. The Ns will need to be replaced with your trixbox Pro server id number. This is the number after “admin” in your username for your trixbox Pro Admin Panel.
Note that if you use Unix based BIND name server software, this option will work very well. If you use a Microsoft DNS service, there's a possibility of registration trouble, especially if the server is busy, but at least your system will remain running if your internet connection goes down. This approach is known to be relatively reliable, but an address pool and DHCP reservations for the phones is more reliable (so you can tell the phones, specifically, to use the IP address of the PBX as their DNS server).
This is a common fix for Windows Active Directory environments that require that the A.D. be the primary DNS server; here is a link with step-wise instructions on how to do this for your Windows 2003 Domain Controller. Remember:
When using a Primary DNS other than the Active Directory server, the DNS requests of workstations and other servers on the network will experience domain-related issues. Alternatively, when not using the trixbox Pro as a primary DNS, phones will be unable to register.
The best way to resolve this issue is to create a secondary resource pool for all your telephone hardware. Start by assigning DHCP reservations for your phones and set all the IP addresses inside the secondary scope. Then, change the Primary DNS server of the scope to the IP address of trixbox Pro . This way, DNS requests from the phones can be forwarded to trixbox Pro and the rest of the network can be handled normally. (For softphones and for HUD registration, it is necessary to hard-code the IP address of trixbox Pro into the server address, so as not to compromise the DNS requests of the workstation)