Problem:

While playing around with DFS on Windows Server 2016 in my lab environment I kept getting the message “The namespace cannot be queried. The network address is invalid” when trying to add a new namespace via the wizard.

Solution:

It turns out DNS in my lab environment was a bit messed up, I was unable to ping the domain. After I corrected my DNS issues the process of creating a DFS namespace completed normally.

dfs namespace cannot be queried