Linux-Noob Forums
Checking your website's A record ( ip address ) - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Server Administration (https://www.linux-noob.com/forums/forum-8.html)
+--- Forum: LAMP (https://www.linux-noob.com/forums/forum-83.html)
+--- Thread: Checking your website's A record ( ip address ) (/thread-3355.html)



Checking your website's A record ( ip address ) - grep420 - 2004-05-28


# This will find your primary nameserver of record and query it for an A record

#

 

bash-prompt: ~] whois domain.com > /tmp/whois && awk '/Name/{print x};{x=$0}' /tmp/whois ; awk '/Name/{getline;print}' /tmp/whois | xargs host domain.com