Need to know FQDN of all computers

Asked By 0 points N/A Posted on -
qa-featured

I need to know FQDN of all computers in the domain which are going to enumerate from domains.

If someone has any idea on how to do this, please let me know.

It will be appreciated.

SHARE
Answered By 15 points N/A #108013

Need to know FQDN of all computers

qa-featured

Hello Myles Green,

It could have been easier if you provided a little more context on what you are trying to accomplish. You should note that computer names in a domain should be the same, as in bear the same domain name suffix.

But to help you, you can still get the computer names using the following DSQUERY command. just try it:

 Dsquery * -filter(obectClass=computer) –attr name

You can also get the name that is common to all the computers if you retrieve the 'Name' property, Another way will be to retrieve the dNDHostName, and this will turn out to be similar to mycomputer.mydomain.com, or the distinguished Name of the computer, which also turns out to be similar to "cn=MyComputer,ou=Computers,ou=West,dc=MyDomain,dc=com".

The following is the example of how you can use the dsquery command:

dsquery * -filter "(objectCategory=computer)" -attr dNSHostName, distinguished Name

Hope this helps.

__

Regards
Clair Charles

 


 

Answered By 590495 points N/A #283314

Need to know FQDN of all computers

qa-featured

FQDN stands for Fully Qualified Domain Name. It is that part of a URL or Uniform Resource Locator that entirely identifies the server program that an internet request is directed to. It consists of the second level domain like “TechyV.com” and any other levels like for example “www.techyv.com”. The “http://” prefix is added to the FQDN which completes the URL.

FQDN is sometimes also referred to as an “absolute domain name”. Its opposite is Partially Qualified Domain Name where a domain name does not include the complete path of labels up to the DNS root. Numerous DNS resolvers handle a domain name that has a dot in any position as being fully qualified or put in the final dot required for the root of the DNS tree.

Related Questions