Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Give precedence to hosts file over DNS for name resolution

Is there a way, maybe feature needed, to give DNS resolution precedence to the locally created hosts file over DNS discovered A records?

If I've predefined the name in hosts, it's more readable than the equivalent DNS discovered FQDN and I'd like to give my given name in hosts file priority over the DNS discovered FQDN.

You can disable use of DNS but I need to use both with priority given to local hosts file.

click to hide/show revision 2
None

Give precedence to hosts file over DNS for name resolution

Is there a way, maybe feature needed, to give DNS name resolution precedence to the locally created hosts file over DNS discovered A records?

If I've predefined the name in hosts, it's more readable than the equivalent DNS discovered FQDN and I'd like to give my given name in hosts file priority over the DNS discovered FQDN.

You can disable use of DNS but I need to use both with priority given to local hosts file.