Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's the time meaning #115

Closed
tjx666 opened this issue Dec 13, 2022 · 1 comment
Closed

What's the time meaning #115

tjx666 opened this issue Dec 13, 2022 · 1 comment

Comments

@tjx666
Copy link

tjx666 commented Dec 13, 2022

image

@mb720
Copy link

mb720 commented Jul 28, 2023

The durations in your screenshot (1m19s, 3m15s, etc) are the Time To Live (TTL) values of those records. They tell you how long the value of the fields (CNAME, A) is still valid.

The --time option is unrelated to the TTL; it's described in the man page:

Print how long the response took to arrive.

You can convince yourself that dog and dig produce the same results for TTL by running:

watch dog --seconds baidu.com

and

watch dig baidu.com

@tjx666 tjx666 closed this as completed Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants