Link to home
Start Free TrialLog in
Avatar of Mr.X
Mr.X

asked on

2012 R2 dns - not resolving one particular ip or too slow

Hi guys,
I got 2012 R2 server, which acts as a dns server for our environment
All sites works good. It’s just one site is too slow or not opening.
“Xero.com” login page not opening or working through it too slow

I found its to do with dns. But I can resolve using nslook. My server resolving it. But when I use 8.8.8.8 as dns - it works so fast/normal. But if I use my server as prinmary dns which I need to for mapdrives. Site is running slow.

Is there anyway to make resolve that one particular site to resolve with 8.8.8.8 first then all others can work with my dns server ?
Avatar of Tom Cieslik
Tom Cieslik
Flag of United States of America image

It looks like your first root hit from root hits list is resolving this address very slow.
You can try remove first one root hit IP address from DNS properties and restart DNS server service to see if this helped.

on Command window run
ipconfig /flushdns

After that try on server first, if is working,,, refresh DNS on workstation
do you mean your DNS server only runs slowly when resolving any hosts with Xero.com?
Well... You can modify your /etc/resolv.conf (or equivalent) to be...

nameserver 127.0.0.1
nameserver 1.1.1.1
nameserver 8.8.8.8
nameserver 8.8.4.4

Open in new window


If you don't use 127.0.0.1 then you'll replace this with the IPs of your DNS servers. This will effectively resolve any lookup bases on fastest response.

Or even better, setup dnsmasq to run on all your machines, for even faster resolution.
Avatar of Jeremy Weisinger
Jeremy Weisinger

You can also check to see what some good forwarders are for your location by using DNS Benchmark: https://www.grc.com/dns/benchmark.htm

You can then test resolving that domain against the top ones and then use whatever is best as forwarders for you local DNS server.
Avatar of Mr.X

ASKER

Actually the problem is not dns
Because I have watchguard, and I tried creating policy like open all ports: all protocols to this particular web site from trusted zone and the site seems to be working at all normL speed
So it should be good. Am going to leave that policy as it's opened to that particular site only .
ASKER CERTIFIED SOLUTION
Avatar of Mr.X
Mr.X

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial