Skip to content

nikhil-donthula/ping

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 

Repository files navigation

ping

Alpine Linux

apk update

#delv, dig, host, nslookup...
apk add bind-tools

#telnet
apk add busybox-extras

#curl 
apk add curl

samples to check hostname is accessable

dig simple

dig +noall +answer vishalmamidi.com
vishalmamidi.com.       0       IN      A       185.199.109.153
vishalmamidi.com.       0       IN      A       185.199.108.153
vishalmamidi.com.       0       IN      A       185.199.111.153
vishalmamidi.com.       0       IN      A       185.199.110.153

telnet ( need to give port )

telnet vishalmamidi.com 80
Trying 185.199.108.153...
Connected to vishalmamidi.com.
Escape character is '^]'.

nslookup

nslookup vishalmamidi.com
Server:         172.30.48.1
Address:        172.30.48.1#53

Non-authoritative answer:
Name:   vishalmamidi.com
Address: 185.199.108.153
Name:   vishalmamidi.com
Address: 185.199.110.153
Name:   vishalmamidi.com
Address: 185.199.111.153
Name:   vishalmamidi.com
Address: 185.199.109.153

host

host vishalmamidi.com
vishalmamidi.com has address 185.199.108.153
vishalmamidi.com has address 185.199.110.153
vishalmamidi.com has address 185.199.111.153
vishalmamidi.com has address 185.199.109.153
host -a vishalmamidi.com

dig

dig vishalmamidi.com
; <<>> DiG 9.16.1-Ubuntu <<>> vishalmamidi.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 31932
;; flags: qr rd ad; QUERY: 1, ANSWER: 4, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;vishalmamidi.com.              IN      A

;; ANSWER SECTION:
vishalmamidi.com.       0       IN      A       185.199.108.153
vishalmamidi.com.       0       IN      A       185.199.110.153
vishalmamidi.com.       0       IN      A       185.199.111.153
vishalmamidi.com.       0       IN      A       185.199.109.153

;; Query time: 0 msec
;; SERVER: 172.30.48.1#53(172.30.48.1)
;; WHEN: Thu Feb 16 09:30:14 EST 2023
;; MSG SIZE  rcvd: 114
dig +short vishalmamidi.com
185.199.108.153
185.199.110.153
185.199.111.153
185.199.109.153

getent

getent hosts vishalmamidi.com
185.199.109.153 vishalmamidi.com
185.199.108.153 vishalmamidi.com
185.199.111.153 vishalmamidi.com
185.199.110.153 vishalmamidi.com

will run over internet

https://toolbox.googleapps.com/apps/dig/#ANY/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published