Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

DNS and logonserver

Posted on 2006-06-24
8
Medium Priority
?
1,856 Views
Last Modified: 2008-10-09
I am trying to learn more about DNS and the _msdcs and things below it.  I just learned that these are records that are queried by other machines to find out where a service is located at.   What I am working on now is trying to figure out what makes a client choose one logon server or another.   I have a DC1 and DC2 which are both global catalog AD servers Then I have a Monitor machine which is AD server only.  the DC1 contains the DNS.   When my exchange server or even my machine logs on its logon server ends up being the monitor machine.   What causes that and how do I get it to logon to DC1?

thanks in advance for any help offered.
0
Comment
Question by:techbnjcomp
8 Comments
 
LVL 48

Expert Comment

by:Jay_Jay70
ID: 16977472
windows looks after itself using KCC and other technologies - a kind of auto load balancing, with windows 2000+ the only way you can force a logon to a certain server that i am aware of, is to have sites setup in AD sites and Services and assign subnets to them, otherwise,  if you are in a single site, there is no need to do anything
0
 
LVL 1

Author Comment

by:techbnjcomp
ID: 16977785
I have two sites and actually a few more servers that I did not mention as they are in another site.    I see a priority and weight in the kerberous dns records and wondered if that was causing some kind of election.    
0
 
LVL 48

Expert Comment

by:Jay_Jay70
ID: 16977874
have you configured your sites in AD?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 8

Expert Comment

by:bilbus
ID: 16977878
you can use a login script to tell you what server its connecting to
0
 
LVL 1

Author Comment

by:techbnjcomp
ID: 16978260
Guys thanks for your help but I am not being articulate enough here.   I do know what server they are using as logonserver (cmd line   set logonserver tells me).  I am trying to tell how the dns records determine whether it uses dc1, dc2, or monitor.   Is it priority or what is causing it to use monitor instead of dc1 ?
0
 
LVL 13

Assisted Solution

by:itcoza
itcoza earned 600 total points
ID: 16979687
Hi techbnjcomp,

I think I understand what you are after.  Have a look at this MS KB:  http://support.microsoft.com/default.aspx?scid=kb;en-us;831201
It is apparent that the servers are given their priority for service in the DNS SVC records.  The article also describes the steps you need to take if you want to change this.

Regards,
M
0
 
LVL 51

Expert Comment

by:Netman66
ID: 16980060
Normally, it uses DNS Round Robin to find a server in the same site.  If Round Robin is not checked in DNS then it will use the first server it finds that answers it.

You can use DNS weighting, but it's not recommended because everyone will use that DC rather than spread out the load.

0
 
LVL 22

Accepted Solution

by:
Paka earned 1400 total points
ID: 17114081
There probably two mechanisms running here.  One is the logonserver environmental variable and the other is the DNS query for domain controllers.  If memory serves, the client will use the last setting for logonserver instead of querying for a DNS server if it is set.  If that fails, the logon service will query DNS for an authenticating domain controller.

Try setting the logon server to DC1 using "set logonserver=DC1" at the command prompt and the netlogon service should attempt to authenticate with DC1 then next time it starts.
0

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

783 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