When I ran ping google.com, I get a ttl value of 55:
64 bytes from 173.194.127.103: icmp_seq=68 ttl=55 time=16.4 ms
When I ran dig google.com @ns1.google.com., it get a TTL value of 300.
google.com. 300 IN A 173.194.127.34
Why do I get two different values for TTL, and which one is relevant in what situation?