Score:0

Why does 'dig ANY' time out?

cn flag

I've tried to query for 'any' records using dig, and I almost always get a timeout error.

but when i google for why this is the case, there doesn't seem to be any answer at all.

psmith@pop-os:~$ dig +short google.com
142.251.35.174
psmith@pop-os:~$ dig +short google.com any
;; connection timed out; no servers could be reached

thanks.

Score:3
cn flag

Don't use ANY.

It does not do what you (everyone) think it does. It does not fetch "ALL" records from the zone, it never did that. So it is in fact useless. No matter what your problem was, using ANY is NOT the answer.

It is now even officially permitted for servers to refuse answering that kind of queries or returning useless content, see RFC 8482.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.