DNS not accurate

We are running a windows 2008R2 domain environment.  i am running into a problem where clients that have two records in DNS (one for wireless and one for ethernet) are failing to update.  What happens is when a laptop is connected to both wireless and ethernet then the ethernet is disconnected, the record in DNS for the ethernet connection doesnt go away.  This causes server initiated connections to the client to periodically fail as the server (in this case our SCCM 2012r2 server) tries to connect to the ethernet interface which is disconnected.  

If I manually delete the record for the client ethernet connection, everything starts working.

Please help!
SidwellITAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

asavenerCommented:
The primary purpose of DNS is to allow clients to find servers; it is not designed to be a real-time map of your network.

I think you're going to need to create some scripts that periodically remove duplicate entries and force workstations to re-register with DNS.
0
Will SzymkowskiSenior Solution ArchitectCommented:
DNS entries get removed based on the DHCP lease and also when the DNS scavenging task is set to as well.

Unfortunately there is really no way around this (that i can think of) other than having your laptop users only use wireless (which probably will not fly).

Will.
0
tankergoblinCommented:
why do you need to activate both wireless and ethernet at the same time?
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

asavenerCommented:
That's a pretty common setup.  Makes it easy to dock and undock.

Otherwise you have to do some magic to disable the wireless when docked....

Most folks manage it by leaving both connections enabled all the time, but having the default route for the wired connection have a lower metric than the default route for the wireless.

That leaves you with two DNS entries, though, as both connections register with DNS.  Both connections work when docked, too.  When you undock, though, the wired connection is no longer available but the DNS entry is still there.

I suppose one option would be to uncheck the "register this connection with DNS" for the wired connection.  Then SCCM finds the device via the wireless address.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
WORKS2011Austin Tech CompanyCommented:
create a batch file from notepad, ipconfig /flushdns to run daily at 8am on the server and maybe noon. Do so on startup on the laptops. I've run the command and it's cleared up the wireless issue you're talking about.

I also explain to users that operating systems CPU's where most wireless resinates from now and even wireless cards in older laptops often utilize the faster of the two networks. However this isn't always the case and the majority of time the LAN wired network is faster. I explain that it's best for them to disable the wireless while connected in a docking station. 99% of the time it's a simple function key / tab combination. A little user training never hurt anyone :-)
0
asavenerCommented:
When configuring DHCP, set the metric on the wireless higher than the metric on the wired connection.  This makes the laptop prefer the wired connection.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
DNS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.