IT Manager candidate based in Riyadh. 12+ years in IT operations and infrastructure.
+966 55 973 2392
https://www.islamfathi.com
Riyadh, Saudi Arabia
Many network is down tickets are DNS. A few commands and one question tell you whether the name or the connection is failing.
A large share of "the network is down" tickets are DNS problems. You can usually find out in five minutes with a few commands and one question.
Is the name failing, or is the connection failing? Try to reach the service by IP address. If that works and the name does not, you have a DNS problem.
nslookup app.example.com
nslookup app.example.com 10.0.0.10
dig +short A app.example.com @1.1.1.1
Comparing the answer from your internal DNS server with the answer from a public resolver shows whether a record is wrong, missing or only different internally. On Windows, Resolve-DnsName gives the same kind of result in PowerShell.
A client keeps an answer for the length of the record's TTL. After you change a record, run ipconfig /flushdns on the client, and remember that other resolvers may hold the old answer until their TTL ends. Lower the TTL a day before a planned change.
Domain members must use your domain controllers as DNS servers. A public resolver as a secondary entry looks harmless, and it produces random failures because the public server knows nothing about your domain. Forward unknown names from the domain controllers instead.
If a name should resolve to a private address inside and a public one outside, check that both views exist and that clients are not using a different resolver than you think, for example through a VPN or a browser setting.
Your email address will not be published. Required fields are marked *