How do I check DNS issues on Mac?

How do I run nslookup on a Mac?

My friend installed a Mac recently and cannot figure out how to install the network drivers. Can someone help please? I have never installed an OS on a Mac before. Thanks! Answer:? nslookup is a part of the BSD project that Apple didn't include. To get it, open a terminal window and type: That gives us the following information about your machine: Quote: Machine:mac.local Host lookup results. The name mac.local has a IP address 16.6 It has the hostname domain.com and the hostname 127.0.

Note that you can specify any name for the host you want to lookup. If you don't, nslookup defaults to using the machine name as the name for the host it asks about. It looks like you're using Mac OS X 10.7 Snow Leopard.

I recommend upgrading to the latest version of Mac OS X and doing some research on that before posting this question again. You may find the correct answer from an Apple support technician by posting your question again when you have Mac OS X 10.7 Lion installed.

For example, we use the command sudo -a i386 -p nslookup to see if the nameserver is working, which should be at least one of the nameservers mentioned in /etc/resolv.conf.

You should see the same results as if you were working on a traditional Linux box. To start and stop the daemon, do this: sudo /usr/sbin/named -f /etc/named.conf sudo /usr/sbin/named -d. We are using the -f and -d options. The first option specifies the named configuration file and the second option is the -d (daemon) mode that makes it quit after the named process exits. Next we use the -c option which says it should check the cache before querying a host. You'll also notice that we put a timeout of 5 seconds. We normally use the -t 1 and -r 2 options, but in this case I wanted to test that our changes were taking affect.

How do I check DNS issues on Mac?

I am having trouble getting my Mac to properly resolve the address of a website. It is a custom domain name. I tried checking the DNS settings in System Preferences, but it said the DNS settings were fine. The DNS settings appear to be correct. Here is my current settings:

The problem is that it's still showing the same old address, not the new one that I'm trying to use. What do I need to do to get it to show the correct address? Thanks.

I wouldn't say that they are correct. The DNS servers can't resolve an arbitrary IP address. You need to tell them the hostname, as you have done. The DNS server you are using will need to know your domain name to be able to resolve it. There's a good explanation in this answer. You can use your current DNS server to check: host www.example.com
(or host www.company.com if you use a company-controlled DNS server).

If that returns the correct address, then the DNS server is working. If that returns the wrong address, then you need to configure the DNS server to know about your domain.

Related Answers

How to do a reverse lookup with nslookup?

To check the status of the reverse lookup name, you need to perform DNS reverse...

What is an example of a reverse lookup zone?

If you have multiple DNS record...

What is reverse lookup IP address to hostname?

A reverse lookup is a process that is used to get details of a company from its r...