DNS server is not working correctly

As of right now I have a router which is the default gateway.
I have My server 2012 R2 essentials server as the DC and DNS server.

My gateway is 0.1 and my server is 0.2 for the last 2 IP fields.

I put in the static network settings for my server

But the static DNS settings I put the server IP. For some reason the server has no internet access.
If I put the Router IP as the DNS it works.

DNS is not setup on the router.

Is there any troubleshooting steps I can take to find out what the issue is with DNS

Did anything change in the new server 2012 from the previous versions?
BBraytonAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CompProbSolvCommented:
When you say "the server has no internet access" how are you testing this?  Try the following on the server:
start
run
ping 4.2.2.2
ping google.com
exit

My bet is that the first ping will give good results and the second one won't be able to resolve the name.

Then do:
start
run
nslookup
google.com
exit
exit

If you could post the results of the nslookup and google.com lines in the last test it would be helpful.

I'm betting that there is a problem with DNS configuration on your server.  If you would provide details of that then the answer may be clear.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BBraytonAuthor Commented:
Ok I will test it tomorrow
BBraytonAuthor Commented:
Here are the results of what you asked me to do.

Pinging 4.2.2.2 with 32 bytes of data:
Reply from 4.2.2.2: bytes=32 time=18ms TTL=56
Reply from 4.2.2.2: bytes=32 time=18ms TTL=56
Reply from 4.2.2.2: bytes=32 time=19ms TTL=56
Reply from 4.2.2.2: bytes=32 time=17ms TTL=56

Ping statistics for 4.2.2.2:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 17ms, Maximum = 19ms, Average = 18ms

C:\Users\AdminFP>ping google.com

Pinging google.com [74.125.224.99] with 32 bytes of data:
Reply from 74.125.224.99: bytes=32 time=84ms TTL=51
Reply from 74.125.224.99: bytes=32 time=83ms TTL=51
Reply from 74.125.224.99: bytes=32 time=85ms TTL=51
Reply from 74.125.224.99: bytes=32 time=86ms TTL=51

Ping statistics for 74.125.224.99:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 83ms, Maximum = 86ms, Average = 84ms

C:\Users\AdminFP>nslookup
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa
        primary name server = 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.
0.0.0.0.0.0.0.ip6.arpa
        responsible mail addr = (root)
        serial  = 0
        refresh = 28800 (8 hours)
        retry   = 7200 (2 hours)
        expire  = 604800 (7 days)
        default TTL = 86400 (1 day)
Default Server:  UnKnown
Address:  ::1

> nslookup google
*** Can't find address for server google: Non-existent domain
>
> nslookup google.com
Server:  google.com
Addresses:  2607:f8b0:4007:807::200e
          74.125.224.100
          74.125.224.101
          74.125.224.102
          74.125.224.103
          74.125.224.104
          74.125.224.105
          74.125.224.110
          74.125.224.96
          74.125.224.97
          74.125.224.98
          74.125.224.99

DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
*** Request to google.com timed-out
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

CompProbSolvCommented:
The two successful ping results indicate that the computer IS getting to the internet and that it can resolve "google.com" to an IP address.

The nslookup results indicate that DNS is working properly for google.com.  It would be helpful if you'd try it again but once you are within nslookup (indicated by the ">" prompt), just type google.com.

The nslookup indicates an odd IPv6 address.  Did you manually set that one?

What have you observed to indicate that you don't have internet access?
BBraytonAuthor Commented:
in order to get internet access on the server I had to manually put in a DNS forwarder in DNS settings to the IP of the router.

the IPV6 address is a loopback address.

If I go to IPv6 properties there is a static IP there ::1. The server must have put that there as Default.
BBraytonAuthor Commented:
C:\Windows\system32>nslookup
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa
        primary name server = 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.
0.0.0.0.0.0.0.ip6.arpa
        responsible mail addr = (root)
        serial  = 0
        refresh = 28800 (8 hours)
        retry   = 7200 (2 hours)
        expire  = 604800 (7 days)
        default TTL = 86400 (1 day)
Default Server:  UnKnown
Address:  ::1

> google.com
Server:  UnKnown
Address:  ::1

Non-authoritative answer:
Name:    google.com
Addresses:  2607:f8b0:4007:804::1004
          74.125.224.110
          74.125.224.96
          74.125.224.97
          74.125.224.98
          74.125.224.99
          74.125.224.100
          74.125.224.101
          74.125.224.102
          74.125.224.103
          74.125.224.104
          74.125.224.105

>
BBraytonAuthor Commented:
Thanks guys
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2012

From novice to tech pro — start learning today.