It depends on the primary and secondary DNS server setup. If the primary server is alive, it will answer the query. From your description, the DNS servers are on your internal network. When you do a query for an external host using DNS it is unable to resolve. The primary DNS server either has to have a forwarder to send the request to it can not answer or ability to query the DNS root servers on the Internet itself. If you are behind a firewall or the DNS server does not have a route to the Internet, it can not get the answer for you and you get the error. Look at the primary DNS server and see if it has a forwarder statement in the configuration. If it does, that server must be able to communicate to the Internet to get the answer. If noforwarder, the internal DNS has to have TCP/IP access to the Internet for port 53 to do the query.
Bobby Brown