Go Back   Computer Forums > General Computing > Networking | DNS
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 04-23-2011, 01:49 PM   #1
Baseband Member
 
Wherebob's Avatar
 
Join Date: Jan 2006
Posts: 90
Default Need to remove one of two dns addresses

My windows 7 pc is configured to use two different DNS ip addresses. How can I remove one of these addresses without going into the local area connection properties?

edit hosts file, lmhosts file or other options?


Thanks
Bob
__________________

__________________
* Dell OptiPlex GX279, Pentium 4 - 2.8GHZ Hyper-Threaded
150G drive, 500G external drive, 1.5GB Ram, XP Professional
* Dell Dimension 2400, Pentium 4 - 2.56GHZ
40G drive, 1.5GB RAM, Windows Server 2003 R2
Wherebob is offline   Reply With Quote
Old 04-24-2011, 05:53 AM   #2
Solid State Member
 
Join Date: Mar 2011
Posts: 11
Default Re: Need to remove one of two dns addresses

How is your computer connected to the internet? Via a router/modem?
Find the device that runs the DHCP server on your network (probably a router) and modify its DNS servers so that it only uses/leases your preferred one.

I dont know of a way to change it locally without changing the local area connection properties, but the above way is how i'd do it
__________________

d3m3tr1x is offline   Reply With Quote
Old 04-24-2011, 06:25 AM   #3
j03
~~~~~~~~
 
Join Date: Jan 2005
Location: Wales
Posts: 5,556
Send a message via MSN to j03
Default Re: Need to remove one of two dns addresses

This is a seriously old article: Where in the registry are the entries for the DNS servers located?

but it might help you out. The DNS servers are stored in the registry (well... they where 11 years ago).
j03 is offline   Reply With Quote
Old 04-24-2011, 06:43 AM   #4
JCB
Daemon Poster
 
JCB's Avatar
 
Join Date: Oct 2004
Posts: 1,302
Default Re: Need to remove one of two dns addresses

does your computer use dhcp or static ip??

If it uses DHCP you can change the dns settings on the dhcp server / router
__________________
Check Out My Computer Related YouTube Channel @ Click Here
JCB is offline   Reply With Quote
Old 04-25-2011, 07:54 PM   #5
Baseband Member
 
Wherebob's Avatar
 
Join Date: Jan 2006
Posts: 90
Default Re: Need to remove one of two dns addresses

Quote:
Originally Posted by JCB View Post
does your computer use dhcp or static ip??

If it uses DHCP you can change the dns settings on the dhcp server / router
Static

Quote:
Originally Posted by d3m3tr1x View Post
How is your computer connected to the internet? Via a router/modem?
Find the device that runs the DHCP server on your network (probably a router) and modify its DNS servers so that it only uses/leases your preferred one.
router
__________________
* Dell OptiPlex GX279, Pentium 4 - 2.8GHZ Hyper-Threaded
150G drive, 500G external drive, 1.5GB Ram, XP Professional
* Dell Dimension 2400, Pentium 4 - 2.56GHZ
40G drive, 1.5GB RAM, Windows Server 2003 R2
Wherebob is offline   Reply With Quote
Old 04-26-2011, 12:14 AM   #6
Solid State Member
 
Join Date: Mar 2011
Posts: 11
Default Re: Need to remove one of two dns addresses

Is your static ip set in the local area connection properties? or is it obtained from the router, but the router makes sure you always get the same one? Coz if you already have the local area connection properties modified, why not just set the dns servers to what you want (directly below the ip settings in the local area connection properties dialog), or do you not have admin rights or something on the computer?

What is the model number of the router? perhaps I can point you in the direction of how to set the dns servers from within it, that is of course if your computer is retreiving its 'static' ip from the router
d3m3tr1x is offline   Reply With Quote
Old 04-26-2011, 04:00 AM   #7
Solid State Member
 
Join Date: Apr 2011
Posts: 13
Default Re: Need to remove one of two dns addresses

in your task bar u will see to blinking computers just click on it click on properties.here u can select automatic DNS configure....
amitaraja is offline   Reply With Quote
Old 04-26-2011, 06:05 AM   #8
Solid State Member
 
Join Date: Mar 2011
Posts: 11
Default Re: Need to remove one of two dns addresses

Quote:
Originally Posted by amitaraja View Post
in your task bar u will see to blinking computers just click on it click on properties.here u can select automatic DNS configure....
I dont think he will see the blinking computers.. hes running windows 7
d3m3tr1x is offline   Reply With Quote
Old 04-28-2011, 12:45 AM   #9
Baseband Member
 
Wherebob's Avatar
 
Join Date: Jan 2006
Posts: 90
Default Re: Need to remove one of two dns addresses

Quote:
Originally Posted by d3m3tr1x View Post
Is your static ip set in the local area connection properties? or is it obtained from the router, but the router makes sure you always get the same one?
Everything is set up static
__________________
* Dell OptiPlex GX279, Pentium 4 - 2.8GHZ Hyper-Threaded
150G drive, 500G external drive, 1.5GB Ram, XP Professional
* Dell Dimension 2400, Pentium 4 - 2.56GHZ
40G drive, 1.5GB RAM, Windows Server 2003 R2
Wherebob is offline   Reply With Quote
Old 05-03-2011, 05:27 PM   #10
Baseband Member
 
Wherebob's Avatar
 
Join Date: Jan 2006
Posts: 90
Default Re: Need to remove one of two dns addresses

Thanks for all the replies.

I was able to do it by editting the hosts file. FYI
__________________

__________________
* Dell OptiPlex GX279, Pentium 4 - 2.8GHZ Hyper-Threaded
150G drive, 500G external drive, 1.5GB Ram, XP Professional
* Dell Dimension 2400, Pentium 4 - 2.56GHZ
40G drive, 1.5GB RAM, Windows Server 2003 R2
Wherebob is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 02:24 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0