Can't communicate with Primary DNS Server

56

Use a wired connection and boot into Safe Mode with Networking (tap F8 on startup for Advanced Boot Options, it will usually be the third option, after Repair Your Computer and Safe Mode).

This is an informative comparison point as Windows starts with only core drivers and services, and no third-party software.

If it works in safe mode with networking, it tells you there is something loading on normal boot that is interfering, which gives you two options.

  1. Run Windows system restore and choose the latest known working date among the restore points (check if the restore point descriptions note anything unusual - anything besides "System scheduled checkpoint" could be informative). I would do this first, as it performs an entire registry rollback, and then go for the more granular option 2 if this fails.

  2. Open msconfig and have a look at what services and programs are starting on a normal boot. In the services tab of msconfig, check "Hide all Microsoft services" at the bottom, then make a note of all remaining services and disable them. In the startup tab of msconfig, make a note of all the checked items and disable them. Reboot to normal mode. If everything works in normal mode after this, you need to go back into msconfig and selectively enable the important things, among these your security package. If it stops working after reenabling something and rebooting, you have found a culprit.

If it does not work in safe mode with networking, do option 1 above.

In my mind the primary suspects for the behavior you are describing would be malware, a hung security package or - possibly - a windows update gone bad. If you get it working, update your security package and do a full scan.

Share:
56

Related videos on Youtube

Agustin Barrachina
Author by

Agustin Barrachina

Updated on September 18, 2022

Comments

  • Agustin Barrachina
    Agustin Barrachina over 1 year

    Please! I lost all my day's work.

    I created a github repository... I've been working all day doing git add -A and commit but I never did a push. I changed a readme directly on the page (not knowing I was going to have problems to merge those same branches).

    When I tried to make git push after all day's rok the following happened:

    To https://github.com/NEGU93/Steganography.git
     ! [rejected]        master -> master (fetch first)
    error: failed to push some refs to 'https://github.com/NEGU93/Steganography.git'
    hint: Updates were rejected because the remote contains work that you do
    hint: not have locally. This is usually caused by another repository pushing
    hint: to the same ref. You may want to first integrate the remote changes
    hint: (e.g., 'git pull ...') before pushing again.
    hint: See the 'Note about fast-forwards' in 'git push --help' for details.
    

    So I tried ta git pull --rebase but it started crashing some things I don't know what it is:

    remote: Counting objects: 3, done.
    remote: Compressing objects: 100% (3/3), done.
    remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
    Unpacking objects: 100% (3/3), done.
    From https://github.com/NEGU93/Steganography
       6161279..44d1f0f  master     -> origin/master
          0 [main] expr 8516 open_stackdumpfile: Dumping stack trace to expr.exe.stackdump
          0 [main] cat 15632 open_stackdumpfile: Dumping stack trace to cat.exe.stackdump
          0 [main] rm 4660 open_stackdumpfile: Dumping stack trace to rm.exe.stackdump
    ^C
    

    I put ctrl+C to stop the crashin there. So I made a git fetch and then a git push of my work:

    fatal: You are not currently on a branch.
    To push the history leading to the current (detached HEAD)
    state now, use
    
        git push origin HEAD:<name-of-remote-branch>
    

    So I did as suggested and made a git push to master:

    git push origin HEAD:master
    Counting objects: 6, done.
    Delta compression using up to 4 threads.
    Compressing objects: 100% (5/5), done.
    Writing objects: 100% (5/5), 1.49 KiB | 0 bytes/s, done.
    Total 5 (delta 1), reused 0 (delta 0)
    remote: Resolving deltas: 100% (1/1), done.
    To https://github.com/NEGU93/Steganography.git
       44d1f0f..c3b8393  HEAD -> master
    

    But now when I got back the work was not there... Help! I don't know what to do and I'm starting to panic. I think the problem is with git fetch. Is there a way to get all my work back???

  • mxl_
    mxl_ about 11 years
    Oh darn, this is an old question that got bumped to the top. Nvm, leaving my answer for reference.