dig domain ANY return refuse connection to port 53

2.1k Views Asked by At

I tried to run the below dig command:
dig www.google.com ANY dig google.com ANY
but i always got the respone ;; Connection to 172.16.137.2#53(172.16.137.2) for www.google.com failed: connection refused.
I tried many other domains but nothing changed. What would be the possible issue ?

1

There are 1 best solutions below

1
On

Some DNS servers just refuse to answer ANY queries (including some resolvers). Still, "connection refused" would be a bad way of doing that, so it might be some other problem...