Nslookup: DNS request timed out. time out was 2 seconds. (When the primary DNS is down)

Hi All,
I have set up 2 Windows Server 2012 domain controllers (DCA & DCB). DCA points at DCB as the primary DNS, and itself as the alternate DNS. DCB points at DCA as the primary DNS, and itself as the alternate DNS.
When both DCs are running and if I do an nslookup on DCA: The result is as follows:
Default Server: dcb.testdomain.com
Address: 30.30.30.2
nslookup on DCB:
Default Server: dca.testdomain.com
Address: 30.30.30.1
Client PC (Windows 7 Pro):
1st DNS : 30.30.30.31
Alternate DNS: 30.30.30.32
nslookup on the client PC
Default Server: dca.testdomain.com
Address: 30.30.30.1
Up to here everything is fine. Now if I turn off DCA, and do an nslookup, the result is as follows:
DCB nslookup:
DNS request timed out.
       time out was 2 seconds.
Default Server Unknown
Address: 30.30.30.31
Client PC nslookup:
DNS request timed out.
       time out was 2 seconds.
Default Server Unknown
Address: 30.30.30.31
I waited for more than 15 minutes an tried again, it didn't help.
I have been reading a few similar posts on this matter, but couldn't find the answer.
I would  expected it to display the DCB when I do an nslookup.
Question 1: Shouldn't that display DCB rather than displaying a time out message when I do nslookup?
Question 2: The fact that it displays a time out message, does it mean that more configuration needs to be done? If so please kindly advice what needs to be done. 
I did an ipconfig /displaydns command. I realized that the order of DNS have changed on both DCB and the Client PC:
Now, they both display DCB on the top of the list, whereas they were displaying DCA on the top of the list prior to the shut down.
Question 3: Does it mean that the Client PC now knows that the 1st DNS is down and so it's using the 2nd DNS?
If so, why does the nslookup display the time out message?
Question 4: Is it possible to configure either of DNS Server or the DNS client, so it displays the 2nd DNS when the first DNS is not accessible and when I do nslookup?
Thank you for. 

Hi Ton_2013,
Based on my understanding, the issue we are experiencing is that: when the primary DNS server is down, the result of the tool Nslookup is to diaplay the time out message at first. Right?
Based on my knowledge, timed out message is means that the server did not respond to a request after a certain amount of time and a certain number of retries. Because the primary DNS server is down, it can't respond to this request and time is out. When
the primary DNS server can't respond, the secondary DNS server works to ensure effective work. And the order is changed as you said.
As to the reason why the result is still the same even when the order has changed, we can try to use Network Monitor to capture network traffic and view and analyze it to find the cause. And the cause may be the cache. For your information, please refer
to the following link to download the tool Network Monitor:
http://www.microsoft.com/en-hk/download/details.aspx?id=4865
Regards,
Lany Zhang

Similar Messages

  • DNS request timed out. timeout was 2 seconds. *** Request to self timed-out

    I am having an issue with one of my domain controllers (Server 2012 R2). It is a DNS server as well and it times out 100% of then time when attempting connect to either of the two trusted forests that are setup as conditional forwarders. There is also a
    delay or a time out the first few times when attempting to resolve an external site such as google.com. The domain controller functions fine. All routing seems to fine, because I can telnet on port 53 to the trusted forest's DCs. They can even use the problem
    DNS server to resolve hosts. It just does work from my controller to the other forest. Here is an example of what is happening.
    > external.forest.dc
    Server:  problem.local.dc
    Address:  192.168.1.8
    DNS request timed out.
        timeout was 2 seconds.
    DNS request timed out.
        timeout was 2 seconds.
    *** Request to problem.local.dc timed-out
    > external.forest.dc
    Server:  problem.local.dc
    Address:  192.168.1.8
    DNS request timed out.
        timeout was 2 seconds.
    DNS request timed out.
        timeout was 2 seconds.
    *** Request to problem.local.dc timed-out
    Google will resolve eventually resolve
    > google.com
    Server:  problem.local.dc
    Address:  192.168.1.8
    DNS request timed out.
        timeout was 2 seconds.
    DNS request timed out.
        timeout was 2 seconds.
    *** Request to problem.local.dc timed-out
    > google.com
    Server:  problem.local.dc
    Address:  192.168.1.8
    DNS request timed out.
        timeout was 2 seconds.
    DNS request timed out.
        timeout was 2 seconds.
    *** Request to problem.local.dc timed-out
    > google.com
    Server:  problem.local.dc
    Address:  192.168.1.8
    Non-authoritative answer:
    Name:    google.com
    Addresses:  2607:f8b0:4006:808::1001
              74.125.226.67
              74.125.226.66
              74.125.226.72
              74.125.226.69
              74.125.226.68
              74.125.226.70
              74.125.226.73
              74.125.226.64
              74.125.226.65
              74.125.226.71
              74.125.226.78
    The other DC works as it should:
    > external.forest.dc
    Server:  working.local.dc
    Address:  192.168.1.7
    Non-authoritative answer:
    Name:    external.forest.dc
    Address:  10.1.1.1
    There is a firewall between these networks, they connect via campus fiber. I created an any rule to rule that out. I am thinking the DNS server is corrupt, but I cannot figure it out. 
    Dcdiag /test:dns says everything is great.
    Any suggestions?

    Hi,
    According to your description, my understanding is that the problem DC is configured with conditional forwarders to resolve names about other 2 trusted forests, and always times out. Besides, there is a delay or a time out the first few times when attempting
    to resolve an external name.
    Use NSlookup to confirm that if the conditional forwarder works. Open CMD on problem DC, type the command below and each line end with enter:
    Nslookup
    Server <IP address of the condition forwarder which used to resolve names on trust domain>
    <name of the trust forest which you want to resolve>
    If it works, try to increase time-out period:
    Properties of Conditional Forwarders – Number of seconds before forward queries times out
    – change the time.
    If it doesn’t work, turn on exhaustive debugging mode. Open CMD on problem DC, type the command below and each line end with enter:
    Nslookup
    Set d2
    Server <IP address of the condition forwarder which used to resolve names on trust domain>
    <name of the trust forest which you want to resolve>
    Post the result here.
    Besides, for internet/external name resolving problem, we usually have another DNS server(except for DCs) which connected to Internet/external and used to resolve external/Internet names. And on DCs, configure forwarder and use forwarder to resolve external/Internet
    names. If it is your case, check the forwarder setting on the problem DC, or use ping to test the network connectivity. Confirm that if the delay of name resolving caused by network delay.
    Best Regards,
    Eve Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • DNS request timed out. timeout was 2 seconds

    Hi
    Why it is saying DNS request timed out was 2 seconds and showing the IPs under non-authoritative answers?
    This is member DC windows 2008 R2. Primary DNS is set as 127.0.0.1 and secondary DNS is set to 192.168.10.6 which is main DC.
    C:\Users\admin>nslookup filter-servers.mailguard.com.au
    Server:  localhost
    Address:  127.0.0.1
    DNS request timed out.
        timeout was 2 seconds.
    DNS request timed out.
        timeout was 2 seconds.
    Non-authoritative answer:
    Name:    filter-servers.mailguard.com.au
    Addresses:50.23.252.165
    199.193.116.73.. more

    HI
    Use ISP DNS servers and forward DNS query from internal DNS to ISP DNS servers,

  • If my iPhone was stolen and wiped clean can I figure out the exact time it was wiped and the last GPS location before it was wiped?

    If my iPhone was stolen and wiped clean can I figure out the exact time it was wiped and the last GPS location before it was wiped?

    Sorry, no.

  • I recently just bought a iphone 4 im happy with the product and it didnt cost an arm and a leg but i was wondering when the iphone 4 will become obsolete as in not receaving updates anymore etc

    I recently just bought a iphone 4 im happy with the product and it didnt cost an arm and a leg but i was wondering when the iphone 4 will become obsolete as in not receaving updates anymore etc

    Keep in mind that just because a device may not be upgradeable to the latest iOS release does not mean it cannot continue to work just fine on the last update it did get.  There will be many devices that were incompatible with iOS 7 that will continuing to work just fine on iOS 6 for a long time yet.  There are many people still using their iPad 1 despite the fact it stopped getting iOS updates after iOS 5.1.1.
    One way to safeguard your apps against future incompatible versions is to keep a backup of all your apps in iTunes on your computer.  That way, if an update to the app comes out that is not backwards compatible with your iOS, you still have a copy of the last version of the app that was compatible with your device and your iOS release.

  • The progress bar (in green)which was visisble at the right hand side down in Firefox 3.6.8,is not visible here which seems little unfriendly.

    The progress bar (in green)which was visisble at the right hand side down in Firefox 3.6.8,is not visible here which seems little unfriendly.Or is it available(may be there is some settings i have to apply)?Please tell me if it is available in this version or not,and if yes then how to bring it.Thanks!

    You can add the progress indicator in the Firefox 4 add-ons bar with the [https://addons.mozilla.org/firefox/addon/status-4-evar/ Status-4-Evar] add-on

  • My sons iPod touch stopped working, it won't charge in a docking station and the computer/itunes won't recognize it when connected.  We have tried holding the power and home button at the same time for several seconds, and the screen still stays black

    My sons iPod touch stopped working, it won't charge in a docking station and the computer/itunes won't recognize it when connected.  We have tried holding the power and home button at the same time for several seconds, and the screen still stays black.  Thanks!

    Hello skdog I possibly think your ipod touch is black because it has not charged. If your dock is broken it might just mean the dock will be broken and so might be the USB port. You should see an Apple shop nearby and hand it over and see what they can do. I hope this information works!

  • My phone displays "Network search". Current time and date. When the SIM is inserted and when there is no sim

    My phone displays "Network search". Current time and date. When the SIM is inserted and when there is no sim.

    Hi, AlexKot.  
    Thank you for visiting Apple Support Communities.
    It sounds like you are experiencing an issue with your iPhone searching for service.  If you have not resolved this issue, I would recommend trying the troubleshooting steps in the article below.
    If you see No Service or Searching in the status bar of your iPhone or iPad
    http://support.apple.com/kb/ts4429
    Cheers,
    Jason H.

  • IOS software update was frozen when the electricity went off and it was disconnected from the wifi connection... my phone is froze into a black page with the apple logo in the center

    IOS software was froze when the electricity went off and it was disconnected from the wifi

    Reset the device:
    Press and hold the Sleep/Wake button and the Home button together for at least ten seconds, until the Apple logo appears.

  • A premature end-of-message was encountered--an incoming data stream was interrupted when the server expected to see more data

     I am getting this error when try to transfer data from an hosted database.
    An OLE DB record is available. Source: "Microsoft SQL Server Native Client 10.0" Hresult: 0x80004005 Description: "While reading current row from host, a premature end-of-message was encountered--an incoming data stream was interrupted when the server expected to see more data. The host program may have terminated. Ensure that you are using a supported client application programming interface (API).".
    How can I work around this?
    This is a simple data flow from a SQL 2005 table using SQL 2008 SSIS. going to a SQL 2008 table
    ThanksSQL Server MVP http:\\sqlblogcasts.com\blogs\simons

    You can still keep the NVARCHAR computed column in the table, but you cannot use MAX for the length, just use a fixed size and it will work like a charm (i.e. convert the whole result of the computation to NVARCHAR(4000)).
    Laurent.

  • Can´t communicate with the primary DNS Server 200.49.156.5: and now?

    Hi,
    I have connected a Sony Vaio with a Linksys WRT54G router, using broadband cable provided by a Motorola Surfboard Modem (model 5b5100i)
    I followed all the steps from the router´s CD.
    Finally I connected a network cable to the port 1 of the router and on the other extreme the Motorola Modem is now connected. As result, since I  have a desktop already connected to the modem, there are now 2 connections on the back of the motorola modem, 1 for a desktop that uses its USB plug and a 2nd, which uses a network cable (ethernet connection) and that plugs at the end to the Linksys router. connection is ok based on the Linksys CD.
    The wireless card of 2 different laptops recognize the router´s signal, but no internet copnnection is available. 
    after diagnostic on network problems by Vista Windows, I receive the following message
    ¨"Cannot communicate with the primary DNS Server 200.49.156.5"
    What does it mean? what needs to be set in order to make it work?
    Thanks in advance for any help

    I talked to a tech support form my cable company and the motorola only provides 1 IP address, therefore, in order to make a router work (it will need its own IP address, a 2nd one), you need to buy an ADDITIONAL internet connection or access point....this company is in Argentina. While I lived in the US (last month) they allowed me to have multiple computers from the same one connection.
    bottom line, calll your ISP and tell them you need either to install the router on your connection OR to have an additional internet cable input....
    just my 2 cents...business rules.

  • DNS issues from one domain controller to another (but not the other way) nslookup DNS request timed out

    Hi All
    I've been trying to trudge my way through an issue our client is having but I'm getting nowhere fast. This issue was discovered when searching for why users at our second site were experiencing slow logons every morning (5-10minutes to login).
    Within our domain there are two domain controllers for the child domain we manage.
    DC1 has connection back to the parent DC's (managed by our clients parent company), and also replicates both ways with DC2. DC2 is at another site, on another subnet and replicates to and from DC1 only.
    DC2 appears to have no issues, it can resolve any address, nslookup either using itself or DC1 is fine and name servers resolve fine.
    DC1 has massive issues with DC2 - using it for nslookup gives me the following:
    I get this timeout error for internal and external names, but both DC's are able to ping and access internet with no issues.
    When trying to resolve name servers from DC1, DC2 sits at 'validating' for a while and then comes back with 'a timeout occurred during validation'.
    Restarting DNS Server, NETLOGON and registering in DNS from DC2 had DC1 talking to it fine for a few minutes, but then it went back how it is (and I haven't been able to replicate this fix since).
    Reverse DNS zones are setup for all the subnets used, there are A records and PTR's for both DC's.
    Performing 'ping -a dc2.ip.address' from DC1 comes back fine - it knows what it is in both directions (name and IP) but nslookup and nameserver resolution is still failing.
    I just don't know where to go from here - from everything I've read they should be happy... Any ideas?

    Hi,
    When NSLOOKUP starts, before anything else, it checks the computer's network configuration to determine the IP address of the DNS server that the computer uses.
    Then it does a reverse DNS lookup on that IP address to determine the name of the DNS server.
    If reverse DNS for that IP address is not setup correctly, then NSLOOKUP cannot determine the name associated with the IP address.
    http://support.simpledns.com/kb/a90/nslookup-cant-find-server-name___-default-server-unknown.aspx
    Also refer to:
    How to fix NSLOOKUP Default Server: UnKnown?
    http://www.randika.info/2013/01/how-to-fix-nslookup-default-server.html
    Regards.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • TS1398 ok so i am using the ipod 4th gen and last night around 10:00 eastern time i was kicked from the wifi and it wouldnt reconnect so i hit forget this network and it did that but when i tried to re-enter the password and it says it was wrong but it wa

    i was in bed at around 10:00

    Does the iOS device connect to other networks?
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network      
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem and it does not connect to any networks make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • Ver 10.0.1.  Entire screen blacks out for a few seconds when scrolling.

    I recently updated to Reader X 10.0.1.  Now when I scroll through a large document my entire screen blacks out for a few seconds.  So far it has recovered.  I get an error message saying that the NVidia nView driver (ver. 135.50) has stopped responding.  I am running Windows 7 Pro on an HP Laptop, feeding to a large Samsung monitor.  Never happened prior to this update.  Any fixes/ideas?

    You are still under warranty.  Call Apple Care. Make sure you get a case number as all repairs have an additional 90 days of warranty. 
    #1 - You have 14 days from the date of purchase to return your computer with no questions asked.
    #2 - You have 90 days of FREE phone tech support.
    #3 - You have the standard one year Apple warranty.
    #4 - If you've purchased an AppleCare Protection Plan, your warranty last for 3 years.   You can obtain AppleCare anytime up to the first year of the purchase of your computer.
    Take FULL advantage of your warranty.  Posting on a message board should be done as a last resort and if you are out of warranty or Apple Care has expired.

  • Time Picker defaults time to 7:00 when the time is deleted

    I have a Lightswitch 2013 desktop silverlight application with a datetime field (not required) but I only use the time portion of the field.  I have a screen with a Time Picker on it and when the user deletes the time the system puts 7:00 am in the
    field.  This only happens in the published application when I debug if I delete the time the time picker is left blank but when looking at the change event the field is changed to the current date with a time of 7:00 AM.  If the time was midnight
    I could at least do some validation and make the field null.  Any ideas why this is happening and how to fix, ideally make the field null but at least make the field midnight.
    Becky

    I need to clarify this bug, when you delete the time the time is immediately changed back to the original time it doesn't matter what time the original time was.  Also the record is not flagged as dirty which means the change event doesn't fire.
    As for the UTC we are on Pacific Standard time so there is an 8 hour difference.  I did some testing and if I the screen says 8:00 am the local time is 12:00 am which is correct, but I don't think it is related to UTC good catch though.
    I've tried the validation and the field can be null, the only way I can get it to change to null is to change the time to some specific value (say midnight) then set it to null in the change event.  This works just fine until someone really needs to
    set the time to midnight.
    Thanks for the idea's I really appreciate it.
    Becky

Maybe you are looking for

  • ADF application error

    (oracle.jbo.DMLException) JBO-26061: Error while opening JDBC connection.How to remove this exception while running ADF application in Integrated weblogic server?

  • Transaction for Posting a Goods Issue Delivery?

    Can someone tell me what this transaction is? Is this same as VL02N?                     Thank-You. Message was edited by:         Tom M.

  • Web Serice -error message-Unaccepted content type ????

    Hi all, I created a webservice for Function module and when i am passing values in the Web Service i am getting error message ... An error has occurred. Maybe the request is not accepted by the server: <b>Unaccepted content type</b> (text/html;charse

  • IMac shuts down while updating at startup.

    And it won't go past the start up screen now. The apple logo is displayed, and there is a loading bar underneath. It gets about 1/4 of the way completed, and then shuts down completely. I have a lot of work I need to finish, so any help would be grea

  • Encore DVD 2.0 Forces Transcoding on Spec MPEG Files

    Since I have upgraded to Encore DVD 2.0 it insists on transcoding many of the MPEG files. The file are 720x480 NTSC and within the MPEG specs. Also the file is marked a do not transcode in the project view. In fact if I use Encore DVD 1.5 and load th