How to resolve from a non-recursive MSDNS and if not found resolve from googleDNS (recursive)?
## resolv.conf ## nameserver 192.168.10.1 # msdns, non-recursive nameserevr 188.8.131.52 # googleDNS, recursive
If I place the MSDNS first and
ping someLocalServer it works, but if I
ping google.com I get "unknown host". If I switch them around the opposite occurs, google pings fine, the "someLocalServer" gives me the "unknown host".
I've tried messing with
nsswitch.conf but this hasn't helped.
## nsswitch.conf ## host: file mdns_minimal dns mdns4
I've switched those tags around,
file dns mdns4 [or]
file mdns4 dns [or]
file mdns_minimal [NOTFOUND=continue] dns ...
I have a Windows Domain and the windows DNS I've setup to be non-recursive. What I'm expecting is; if a local lookup fails, I expect the lookup to be handled by googleDNS.
This setup works fine under Windows Server but not under a CentOS basic install.