-1

I have a question regarding how to troubleshoot a domain name, for example when my url is not working, how can I find if the problem is from DNS or timeout? Using Linux shell.

Youssef

Youssef
  • 190
  • 1
  • 3
  • 13
  • Please show what have you tried? – Am_I_Helpful Jun 30 '14 at 11:54
  • 1
    This is best asked over on server fault unless your using code to do the above. Anyway I suggest you Google for the commands nslookup or dig. You want to issue a lookup from your host to a DNS server and confirm it knows how to map your I.P Address to a domain name. – ServerMonkey Jun 30 '14 at 11:54
  • I tried ping, but I am still struggling to understand it. – Youssef Jun 30 '14 at 12:00
  • ServerMonkey I will do this next time I have a server fault, it is working fine now :), nslookup or dig looks good I will read about them. – Youssef Jun 30 '14 at 12:02

1 Answers1

1

You can try :

ping Your_adress_IP

If it failled : you have a timeout problem Else :

ping domaine_name

If it failled : you have a DNS problem.

Samuel Dauzon
  • 10,744
  • 13
  • 61
  • 94