Optimize Bind DNS Faster Resolve for use with Exchange 2003

I have an Bind DNS with linux for resolve external DNS, works fine but now we are having problems with our Exchange 2003 for faster resolve DNS, I would like know if exist an tune up config of the DNS zone that would help to the Exchange 2003 resolve faster the external DNS. Here is the actual zone file:

$ORIGIN legalpublishing.cl.
$ttl 3600
legalpublishing.cl.      IN      SOA      eros.legalpublishing.cl. postmaster.legalpublishing.cl. (
                  43200 )
legalpublishing.cl.      IN      NS      eros.legalpublishing.cl.
                        NS      secundario.nic.cl.
                  MX      10 mail.legalpublishing.cl.
curso.legalpublishing.cl.      IN      A
elearning            A
eros                  A
estadisticas            A
marketing            A
intranetrrhh.legalpublishing.cl.      IN      A
lexnxt4                  A
lngscldvl01.legalpublishing.cl.      IN      A
lngsclweb01            A
lngsclweb02.legalpublishing.cl.      IN      A
mail.legalpublishing.cl.      IN      A      
                  MX      10 mail
ns                  A
productos            A
productos2            A
saad.legalpublishing.cl.      IN      A
seminario            A
servicios             A
streaming            A
training.legalpublishing.cl.      IN      A
ts.legalpublishing.cl.      IN      A
video                  A
www.legalpublishing.cl.      IN      A
bo                      A
bo2                     A
www2                    A
servicios2              A
dj2010                  A
dj2011                  A
bo99                    A
www99                   A
productos99             A
servicios99             A
www1                    A
www3                    A
productos1              A
servicios3              A
bo3                     A
productos3              A
servicios1              A
bo1                     A
sip                     A
conference              A      IN      PTR      mail.legalpublishing.cl

Thank you so much for your help.

Jose Luis Palacios
Who is Participating?
m_walkerConnect With a Mentor Commented:
I have never tuned dns as such as I have always found bind to be very fast.  Speed and performance issues tend to be around how things work.  I am more then happy to be corrected here.

The way I see it is a stock setup where you have a flat zone file (no updates allowed) and every host has an A record.  I cant see anyway to tune that to get faster.  If you DNS server is under heavy load (lots of lookups) then adding more DNS slaves will help spread the load.

As in you zone file you dont have any trick redirects or the like that could create more lookups or bigger data packets to get the IP requested. eg: CNAME, so its looks about a sinple as it gets.  BIND loads the zone file into memory at startup, so little to no hdd access to do lookups.

If your IP Addresses are static (ie: not changing) you could increase the TTL from 3600.
What this 3600 ttl does is tell other dns servers/caches (windows has a simple dns cache it uses on each computer) is that it can keep using the IP Address for that host for 3600 seconds without asking the dns server again.  So you exchange server will only ask the dns server for that record once per hour.  You can increase that so it will ask less often.  But lets face it, 1 ms every hour is not a bottle neck.

If your DNS server is a caching name server (for internet lookups) then you can look at a few differnt things.
1. No Forwarders.  In this mode, if you dns server does not know the address it will work it our from the root name servers.  
Pro: You should always get the right answer (or at least as correct as any other name server)
Con: May not be as fast as using a forwarder.

2. User forwardes.
Pro: Your ISP DNS servers may be faster then yours, bigger boxs faster data links, aready have the value in cache.
Con: There DNS Server could have bad data that you will get.

Why do you think exchange is slow with the DNS?

If exchange is accessing your local DNS server for local records as per your zone file, it should be more then fast enough for exchange.

If exchange is slow in trying to get an external IP address, the there could be an issue in your named.conf file.

One common slow dns lookup is the reverse (ptr) record for an internal IP (eg:  If you dont have this zone setup, and exchange asks for it then it will try to send that to up-stream dns server and search for it and never find it, thus slow.  If you setup the zone (in-addr.arpa for your inside range) even if it has no ptr records, your dns server will get a fast response (even if not known).

So to help out I think we need to understand what is slow.
josepalaciosAuthor Commented:
I have the the ptr and reverse DNS working fine, well that was a suggestion from an "expert exchange guru", I was checking everything it's fine or at least agree with th most common DNS parameters, only said that but not exactly what would be change for get better performance.

Glen KnightCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.