On one of my laptops which is running macOS High Sierra, is failing to resolve hostnames. I have specified two DNS servers in my network settings. One is an internal DNS server, and the other is 188.8.131.52. When I try to resolve local hostnames that the internal DNS knows, it resolves properly. But when I try to resolve something like google.com it fails.
I see that it tries to use the internal DNS server first, and since it doesn't know the hostname, I thought it would try to use 184.108.40.206 to resolve the hostname, but it never tries the other DNS server.
When I try this from my other laptop, it works properly i see
$>nslookup google.com ;; Got SERVFAIL reply from <internal dns>, trying next server Server: 220.127.116.11 Address: 18.104.22.168#53 Non-authoritative answer: Name: google.com Address: 22.214.171.124
But from the one where it doesn't I see
$>nslookup google.com Server: <internal dns> Address: <internal dns>#53 ** server can’t find google.com: SERVFAIL
There is no attempt to try the 126.96.36.199 DNS server. Why is that happening? How can I get it to try the other DNS server if it fails with one.