I have a strange local network configuration to deal with. Connection is NATed in 172.16 segment, many useful ports are closed (no NTP service, for example). And DNS are only those from two addresses given in that segment by DHCP something like 172.16.1.254, no access to external DNS servers.
Still I want some caching DNS on my machine, may be for 192.168 WiFi subnet (that is the next step with its additional problems).
But either bind/named or unbound do not work as expected.
I managed to start named, configured with "forward" directive directing to known local DNS resolvers, but
always gives no answer (servfail answer), although
have no problem resolving that address.
Is there a way to get a working local caching DNS server on my machine? And how to diagnose what is really wrong?
Still I want some caching DNS on my machine, may be for 192.168 WiFi subnet (that is the next step with its additional problems).
But either bind/named or unbound do not work as expected.
I managed to start named, configured with "forward" directive directing to known local DNS resolvers, but
Code:
dig @localhost google.com
Code:
dig @172.16.1.254 google.com
Is there a way to get a working local caching DNS server on my machine? And how to diagnose what is really wrong?