DNS resolver order

categories:

You should edit /etc/host.conf

Edit the line “order”

order hosts,bind : will query your hosts file first, then bind order bind,hosts : will query bind, and if no result is found, query your hosts file order bind : will only query bind, pay attention to maintain localhost and 127.0.0 zones ! If not, this would lead to many troubles with many services




Thanks for reading this post!


If you found an issue in this article, you can create an issue on Github.

If you have a comment or question, please drop me a line below!