I don’t think it’s fair game to say nostr relies on DNS.
It’s not like matrix, activity pub and all that federated crap where identities are tied to server names.
We just happen to connect with relays to send and fetch notes, that more often than not do have a DNS.
And we have people building P2P experiments with nostr, which further proves the point.