Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Nslookup and ping

Name: Anonymous 2013-03-21 14:31

WTF is happening there? Why first ping failed, but ping right after nslookup succeeded?

$ ping en.wikipedia.org
ping: cannot resolve en.wikipedia.org: Unknown host
$ nslookup en.wikipedia.org
Server:        192.168.0.1
Address:    192.168.0.1#53

Non-authoritative answer:
en.wikipedia.org    canonical name = wikipedia-lb.wikimedia.org.
wikipedia-lb.wikimedia.org    canonical name = wikipedia-lb.esams.wikimedia.org.
Name:    wikipedia-lb.esams.wikimedia.org
Address: 91.198.174.225

$ ping en.wikipedia.org
PING wikipedia-lb.esams.wikimedia.org (91.198.174.225): 56 data bytes
64 bytes from 91.198.174.225: icmp_seq=0 ttl=56 time=73.034 ms
64 bytes from 91.198.174.225: icmp_seq=1 ttl=56 time=75.222 ms
^C
--- wikipedia-lb.esams.wikimedia.org ping statistics ---
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 73.034/74.128/75.222/1.094 ms

Name: Anonymous 2013-03-21 14:37

That is a fucking Linux. Anything can go wrong at any layer in a myriad of ways. The only way is to check linux kernel source code, which is a monstrous billion SLOC bloat, requiring attention of 1000 member team just to change anything.

Name: Anonymous 2013-03-21 16:20

requiring attention of 1000 member team just to change anything
Let's not count Microsoft and Apple employees for comparison.

Name: Anonymous 2013-03-21 16:33

>>1
Are you an idiot? en.wikipedia.org is in multiple servers. The moment you did nslookup en.wikipedia.org, your OS got DNS records, and an IP address to follow. After the DNS, your ping knows where to look. This happens on every OS, especially when your TTL had expired, or your DNS flushed.

Name: Anonymous 2013-03-21 19:24

>>4
Why can't Linux call nslookup automatically?

Name: Anonymous 2013-03-21 19:26

>>5
Why can't Linux call nslookup
Why can't Linux
Linux

found you problem.

Name: Anonymous 2013-03-21 20:13

>>5
nslookup is not part of ping - do you should understand the unix philosophy?
you'll find that if you pung 91.198.174.225 directly, you would not have a problem.

Name: Anonymous 2013-03-21 20:28

>>6
e/g/in /g/ro

Name: Anonymous 2013-03-21 21:01

>>7
Unix phallusophy is KISS: Keep It Shit, Shit.

Name: Anonymous 2013-03-21 21:03

>>8
Yeah. Keep it shit, shithead.

Name: Anonymous 2013-03-21 21:25

>>10
LLLLLLLLEEEEEEEEEEEELLLLLLLLLLLLLLLLLLLL
LE E/G/IN
LE SHITHEAD XDXD XD
LEL XD XD XD

Name: Anonymous 2013-03-21 21:56

Still using nslookup? Terrible!

Seriously, use dig.

Name: Anonymous 2013-03-21 21:58

>>12
>DIG IS SHIT
>USE REDDIT LEL
>LLLLLLLLLLEEEEEEEEEEEEEEEEEEEEEEELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL

Don't change these.
Name: Email:
Entire Thread Thread List