• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1093
  • Last Modified:

How to resolve for short names in a windows environment

In a windows active directory environment i would like to achive the following behaviour in a Windows XP computer member of domain1.com domain:
whenever i want to resolve a short name like "pc07" i would liket it to try  automatically to resolve for several fqdns like for example: pc07.domain1.com, pc07.domain2.com, pc07.domain3.com.

Is this possible?

Thanks



 
0
llandajuela
Asked:
llandajuela
  • 8
  • 4
1 Solution
 
Erik BjersPrincipal Systems AdministratorCommented:
setup a WINS server and point to it in your DHCP scope, should take care of it.

eb
0
 
llandajuelaAuthor Commented:
I already have a wins server.

What should i configure in my wins server in order to get the resolution for several domains to work?

Thanks!
0
 
llandajuelaAuthor Commented:
Mi computers are already DHCP clients and are already getting the wins server configuration option.
0
Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

 
Erik BjersPrincipal Systems AdministratorCommented:
http://technet.microsoft.com/en-us/library/cc780091%28WS.10%29.aspx

Is your DHCP set up with the WINS server in the scope options?

eb
0
 
llandajuelaAuthor Commented:
I guess i am missing some configurations in the wins server
0
 
Erik BjersPrincipal Systems AdministratorCommented:
Are these short names you are trying to resolve in the same domain as your computers or are they in different domains?

If they are in different domains this will not work.  When you try to connect to a system using it's short name your computer adds the domain prefix that is configured by DHCP to the name.  For example; you are in domaina.local and want to connect to svr.domaina.local when you connect to svr your computer adds the .domaina.local and makes the connection.  Now let's say that you are in domaina trying to connect to svr.domainB.local if you just enter svr you will again get sent to svr.domaina.local.

One thing you can do to get around this is add DNS records in domaina.local for the hosts you want to access by short name in domainb.local but this can be troublesome as you will have to update it manually whenever there is a change.

If this is all within the same domain then make sure you have a global catalog server.

eb
0
 
llandajuelaAuthor Commented:
They are in different domain. This is just why i need this resolution.

Isn't it possible to deploy several domain prefix via DHCP?

Thanks!
0
 
Erik BjersPrincipal Systems AdministratorCommented:
No you can only have 1.  

eb
0
 
Erik BjersPrincipal Systems AdministratorCommented:
Create CNAMES in your DNS for the servers on the other domain

if you want to connect to SVR1.domainB.local from domaina add a record for SVR1.domainA.local to the DNS in domainA that points to the IP of SVR1.domainB.local.  This way when you connect to SVR1 and your computer adds domainA.local it will pull the IP for the server in domainB.local and should connect (a bit messy)

Depending on what resources you are trying to access on these other servers you may need to disable strict name checking on them for this to work.

eb
0
 
lanboyoCommented:
You can set a DNS suffix search list manually on each machine, it will use this list INSTEAD of any other DNS suffix that it learns about from connection specific information or DHCP. It can't be pushed by a Windows DHCP server however, as far as I know.
0
 
Erik BjersPrincipal Systems AdministratorCommented:
I just realized I have been saying prefix in all my posts so let me correct myself... that should be suffix

eb
0
 
Erik BjersPrincipal Systems AdministratorCommented:
I just came across this while working on a different question.  

You can set DNS search prefixes using group policy
http://support.microsoft.com/kb/294785

Think this will work for you, however I recommend testing on a small group first.

eb
0
 
Erik BjersPrincipal Systems AdministratorCommented:
I did it again, not sure why I keep saying prefix... please replace prefix with suffix in all my posts...
0

Featured Post

Will You Be GDPR Compliant by 5/28/2018?

GDPR? That's a regulation for the European Union. But, if you collect data from customers or employees within the EU, then you need to know about GDPR and make sure your organization is compliant by May 2018. Check out our preparation checklist to make sure you're on track today!

  • 8
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now