Mac OS X tip: Look up host IP addresses for hosts in /etc/hosts

OS X logo Most DNS tools (like dig and nslookup) perform IP lookups against DNS servers, ignoring /etc/hosts entries. Luckily, OS X provides the dscacheutil command to perfom a number of functions including checking local host entries. Below is an example that I used to verify the hostname/IP address combo that my system had registered in /etc/hosts.

This command helped me resolve an issue I was having. Turns out I had two entries for the host.

$ dscacheutil -q host -a name dashboard.drupalvm.dev
name: dashboard.drupalvm.dev
ip_address: 192.168.88.88

Blog Category: 

Comments

How to write great essays

Scholarship essays are one of the most important aspects of a scholarship application. Students think of essay writing as a boring and worthless activity. It is best to achieve knowledge through writing. An essay is a good method to set in all the facts and figures together. And this facts had been received by different sources. Essay writing helps in motivating the intelligence and leads to intellectual development. It is a good exercise to practice for examination. The important thing about essays is that you do not have to possess great ideas to write good essays. All you need to know is the Method behind writing them. The Method involves understanding the Question. Essay writing service reviews( http://ukessayreviews.com) helps to write your essay in correct Structure. When planning your essay, identify the scope of the question .This defines the boundaries of your argument or discussion. If a question has two or more parts, make sure you discuss each part during the essay.

Add new comment