Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Checking Nameserver setup from command line

Is there a way to check if my domain is setup correctly on the nameservers? Ideally I'd like to run a command from command line, alternatively can use a third party tool.

for example, I'm trying to register a domain that's to be hosted on godaddy.com. I have set up the domain and can see it in my DNS list. The servers that are supposed to be setup are ns51.domaincontrol.com and ns52.domaincontrol.com, however my registration is bouncing saying that there are "No Nameservers found for {my new domain}".

like image 399
Joshua Avatar asked Sep 02 '09 09:09

Joshua


People also ask

How do I find out what my nameserver is?

Open your Command Prompt from the Start menu (or type “Cmd” into the search in your Windows task bar). Next, type ipconfig/all into your command prompt and press Enter. Look for the field labeled “DNS Servers.” The first address is the primary DNS server, and the next address is the secondary DNS server.

What is nslookup in command prompt?

The nslookup command queries internet domain name servers in two modes. Interactive mode allows you to query name servers for information about various hosts and domains, or to print a list of the hosts in a domain. In noninteractive mode, the names and requested information are printed for a specified host or domain.

What is DNS command?

DNS stands for Domain Name System and is sometimes also referred to as a Domain Name Server or a Domain Number System. DNS simplifies our web browsing experience. Every website we visit has a domain name and an associated IP address.


1 Answers

I think this is the shortest and quickest command to list your nameservers:

host -t ns yourdomain.com
like image 59
Jesús Carrera Avatar answered Sep 30 '22 19:09

Jesús Carrera