Host name resolution

J

Joe

When I am on a different subnet in my network I am unable
to ping a server on the network in a different domain by
just using the host name. I can ping it using the FQDN.
When I run nslookup debug on the name it tries to resolve
to .org which is the domain I am on instead of .com which
is the domain it is actually on.
 
S

Steve Duff [MVP]

You can fix this on a workstation by adding the other
domain to the DNS search list. (In the Advanced TCP/IP
properties for the LAN connection.)

Unfortunately, I know of no way to perform this adjustment
easily centrally or via DHCP for all workstations. You can
of course add cname entries in your own domain for these;
whether that works for you depends on the application.

Steve Duff, MCSE
Ergodic Systems, Inc.
 
A

Ace Fekay [MVP]

In
Steve Duff said:
You can fix this on a workstation by adding the other
domain to the DNS search list. (In the Advanced TCP/IP
properties for the LAN connection.)

Unfortunately, I know of no way to perform this adjustment
easily centrally or via DHCP for all workstations. You can
of course add cname entries in your own domain for these;
whether that works for you depends on the application.

Steve Duff, MCSE
Ergodic Systems, Inc.

Steve, I found this link that may help:

275553 - How to Configure a Domain Suffix Search List on the Domain Name
System Clients:
http://support.microsoft.com/?id=275553


--
Regards,
Ace

Please direct all replies to the newsgroup so all can benefit.
This posting is provided "AS IS" with no warranties.

Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP
Microsoft Windows MVP - Active Directory
 
D

Deji Akomolafe

I use a Machine Startup Script through GPO for this purpose. I apply the GPO
at the Domain Level so all my computers get it.

I use 2 files for the process - one .bat file and one .vbs file. The .bat
file is the one that is specified in the GPO as the Startup script, and all
it does is call the .vbs file which does the DNS suffix configuration.

'This is the .bat file
REM //////////////////////////////////////////////////////////////////
@echo off
cscript %logonserver%\netlogon\addDNS-Suffix.vbs

:END
REM //////////////////////////////////////////////////////////////////


'This is the .vbs file
'//////////////////////////////////////////////////////////////////
On Error Resume Next

SET WSHShell = CreateObject("WScript.Shell")
WSHShell.RegWrite
"HKLM\System\CurrentControlSet\Services\TCPIP\Parameters\SearchList",
"FirstDomain.com,child.firstdomain.com,seconddomain.net,firstdomain.blah,oth
erdomain.local,etcdomain.etc", "REG_SZ"
SET WSHShell = Nothing
'//////////////////////////////////////////////////////////////////

Both files go into the the Netlogon share of one of your DCs. From here,
they will be copied over to the rest of your DCs.

HTH

"Ace Fekay [MVP]"
 
A

Ace Fekay [MVP]

I use a Machine Startup Script through GPO for this purpose. I apply
the GPO at the Domain Level so all my computers get it.

I use 2 files for the process - one .bat file and one .vbs file. The
.bat file is the one that is specified in the GPO as the Startup
script, and all it does is call the .vbs file which does the DNS
suffix configuration.

'This is the .bat file
REM //////////////////////////////////////////////////////////////////
@echo off
cscript %logonserver%\netlogon\addDNS-Suffix.vbs

REM //////////////////////////////////////////////////////////////////


'This is the .vbs file
'//////////////////////////////////////////////////////////////////
On Error Resume Next

SET WSHShell = CreateObject("WScript.Shell")
WSHShell.RegWrite
"HKLM\System\CurrentControlSet\Services\TCPIP\Parameters\SearchList",
"FirstDomain.com,child.firstdomain.com,seconddomain.net,firstdomain.blah,oth
erdomain.local,etcdomain.etc", "REG_SZ"
SET WSHShell = Nothing
'//////////////////////////////////////////////////////////////////

Both files go into the the Netlogon share of one of your DCs. From
here, they will be copied over to the rest of your DCs.

HTH

That is great that you posted this. I hope it helps out Joe and anyone else
that asks for something like this, since it comes up from time to time.

Thanks again!



--
Regards,
Ace

Please direct all replies to the newsgroup so all can benefit.
This posting is provided "AS IS" with no warranties.

Ace Fekay, MCSE 2000, MCSE+I, MCSA, MCT, MVP
Microsoft Windows MVP - Active Directory
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top