diff --git a/transports/dns/Cargo.toml b/transports/dns/Cargo.toml
index 54954f1a0c97..120856b47c32 100644
--- a/transports/dns/Cargo.toml
+++ b/transports/dns/Cargo.toml
@@ -15,7 +15,7 @@ libp2p-core = { version = "0.32.0", path = "../../core", default-features = fals
 log = "0.4.1"
 futures = "0.3.1"
 trust-dns-resolver = { version = "0.20", default-features = false, features = ["system-config"] }
-async-std-resolver = { version = "0.20", optional = true }
+async-std-resolver = { version = "0.21", optional = true }
 smallvec = "1.6.1"
 
 [dev-dependencies]