Under Windows DNS availability can be checked using nslookup. On Linux, the equivalent is dig
Read more nslookup windows / linux