Solved

How do I access resources over Domain Trust using hostname only?

Posted on 2014-09-25
7
278 Views
Last Modified: 2014-09-26
I have enabled an external domain trust using conditional forwarders between two domains.  All appears to be in order, as I can ping IP addresses, access network shares and RDP to servers when I access a resource using FQDN.  

However, I cannot get to a resource if the UNC path only includes the host name.

\\server.domain\share  (works)
\\server\share (doesn't work)

What changes do I need to make to DNS servers on both sides to allow access using hostnames rather than FQDN?

Thank you
0
Comment
Question by:LenCepeda
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 39

Accepted Solution

by:
footech earned 500 total points
Comment Utility
You would have to configure an additional DNS search suffix.  This isn't a DNS server setting but something that the clients have to have.  I don't know if I'd recommend it though.  To me, using the FQDN to reach a server in the remote domain isn't a big deal, and you'd still have to do it if you have a resource in both domains that has the same name.  If you want to deploy your best bet is probably going to be through Group Policy.  You can check out this link for some more detail.
http://blogs.msmvps.com/acefekay/2011/02/12/configuring-dns-search-suffixes/
0
 

Author Comment

by:LenCepeda
Comment Utility
Thank you footech for the quick response.  

I agree using the FQDN isn't a big deal and seems to work very well.  

However, one network is hosting a site that includes links to different resources on their network.  Users can get to the site using the FQDN but when they select links on that site and get redirected to a UNC path on that network the resource cannot be located.

I will look into the DNS Suffix / Group Policy and get back shortly. Thanks Again.
0
 
LVL 39

Expert Comment

by:footech
Comment Utility
Of course the other fix for that would be to update the links so the UNC path references the FQDN.
0
Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

 
LVL 16

Expert Comment

by:choward16980
Comment Utility
You can also edit your hosts. file and add the host names and correlating ip addresses.  

http://www.rackspace.com/knowledge_center/article/how-do-i-modify-my-hosts-file

Windows Vista and Windows 7
Vista and Windows 7 use User Account Control (UAC) so Notepad must be run as Administrator.

1. Click Start -> All Programs -> Accessories

2. Right click Notepad and select Run as administrator

3. Click Continue on the "Windows needs your permission" UAC window.

4. When Notepad opens Click File -> Open

5. In the filename field type C:\Windows\System32\Drivers\etc\hosts

6. Click Open

 


Windows NT/2000/XP
1. Click Start -> All Programs -> Accessories -> Notepad

2. Click File -> Open

3. In the filename field type C:\Windows\System32\Drivers\etc\hosts

4. Click Open

 


Linux
1. Open a terminal window

2. Type sudo nano /etc/hosts (you can substitute any text editor)

3. Enter your password

 
Inside your host file, you want entries with IP address, divided by a tab and then the friendly/host name
192.168.1.55      SERVER
192.168.3.25      SERVER2
10.10.1.3         SERVER3

So now, if you UNC to \\SERVER , it users the IP address of the server.

You can also create host records in your DNS similarly.  Open your DNS console and expand your domain under forward lookup zones.  Just add A records for all your desired hosts with which you don't want to have to append a domain suffix to.
0
 
LVL 24

Expert Comment

by:Mohammed Khawaja
Comment Utility
Beware of changing hosts file as it needs to be done on each computer and an IP address change could wreak havoc.  Always use DNS where possible.  Another way to do it is to use WINS and replicate WINS servers between the domains.  You would also change your DHCP settings to assign WINS server addresses.  Caution against WINS as it is a dying technology and it is recommended to use DNS and suffix search lists.
0
 
LVL 16

Expert Comment

by:choward16980
Comment Utility
Host files can haunt you.  I always seem to forget my hosts entries and then end up troubleshooting some impossible issue that turns out to be the changes I made.  If this is a global thing, add the A records.  If you're doing this for a few workstations, I'd probably us the hosts file.
0
 

Author Closing Comment

by:LenCepeda
Comment Utility
Thanks to everyone for offering advice.

I ended up adding a DNS suffix and it works great.  

Footech, I appreciate your help with this
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now