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 ?
Windows Server 2012Windows Server 2008DNS

Avatar of undefined
Last Comment
Mr.X

8/22/2022 - Mon
Tom Cieslik

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
bbao

do you mean your DNS server only runs slowly when resolving any hosts with Xero.com?
David Favor

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.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
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.
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
Mr.X

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.