Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Networking
Tag Cloud
access acer asus bios bsod computer crash desktop dns driver drivers error ethernet excel freeze gaming graphics hard drive hardware hdmi internet laptop malware memory monitor motherboard network printer problem ram registry repair router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Internet & Networking > Networking >
Need Registry Script to change DNS Server Preferred & Alternate IPs

Reply  
Thread Tools
pmorris's Avatar
Junior Member with 17 posts.
 
Join Date: Dec 1998
Location: Wallingford, CT
22-May-2008, 11:41 PM #1
Need Registry Script to change DNS Server Preferred & Alternate IPs
Need Registry Script to change DNS Server Preferred & Alternate IPs
I have an application that only runs when I remove static DNS Server IPs from the Local Area Connection Properties. The app actually launches, but after entering login info, it returns a connection error. Only after changing the DNS to automatic will it work properly. (If I then immediately set DNS back to static, the app works normally if I exit the program and launch it again.)

I'd like to crete a registry script that would set DNS to automatic, then reset it to specific primary and secord IPs. But most importantly, the script should allow for the "Apply" or "OK" function, so that the settings are refreshed at the completion of the script.

Anyone with any ideas as to why this problem may be occurring, or would anyone care to share a script that would accomplish the above? Thanks.

PM
squidboy's Avatar
Computer Specs
Senior Member with 411 posts.
 
Join Date: Dec 2004
Location: Bradenton, FL
Experience: Advanced
23-May-2008, 09:34 AM #2
I'm curious, which application is this that requires specific DNS settings?
pmorris's Avatar
Junior Member with 17 posts.
 
Join Date: Dec 1998
Location: Wallingford, CT
23-May-2008, 01:10 PM #3
It's third-party proprietory app that my company uses. The app runs fine on other machines in our AD network, so it appears that the issue is local. Nonetheless, the matter is always resolved on this particular machine by clearing the static primary and secondary DNS server IPs, and enabling them again.
Couriant's Avatar
Distinguished Member with 27,145 posts.
 
Join Date: Mar 2002
Location: Chillin in AZ
Experience: B.S. in M.I.S
23-May-2008, 10:31 PM #4
Have you asked the 3rd party vendor if they have heard of the same issue, and if there is any patches?
squidboy's Avatar
Computer Specs
Senior Member with 411 posts.
 
Join Date: Dec 2004
Location: Bradenton, FL
Experience: Advanced
24-May-2008, 08:18 AM #5
The reason I ask is that this appears to be a DNS issue within your AD network, and not an application issue.
Reply

Tags
dns, networking

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 08:10 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.