In a standard configuration with /etc/resolv.conf, e.g.:
if the first server a.b.c.d is queried, and it responds, the second one won't be used.
What if a.b.c.d is not able to resolve a hostname, but w.x.y.z can?
What is the easiest mechanism to jump to the next nameserver in such case?
To avoid a possible XY-problem, here is the situation:
A local DNS (which is not under my control) does not do its job well, so I want my workstation to be able to try a different DNS (e.g. 8.8.8.8) if the "official" one cannot resolve the name.
However, the local DNS resolves the names within the local network (which, of course, cannot be resolved by an external one).
Code:
nameserver a.b.c.d
nameserver w.x.y.z
What if a.b.c.d is not able to resolve a hostname, but w.x.y.z can?
What is the easiest mechanism to jump to the next nameserver in such case?
To avoid a possible XY-problem, here is the situation:
A local DNS (which is not under my control) does not do its job well, so I want my workstation to be able to try a different DNS (e.g. 8.8.8.8) if the "official" one cannot resolve the name.
However, the local DNS resolves the names within the local network (which, of course, cannot be resolved by an external one).