Get Some

General => Technology & Hardware => Topic started by: Growler on April 04, 2013, 03:07:27 pm

Title: DNS switching (easy?)
Post by: Growler on April 04, 2013, 03:07:27 pm
Is there anyway I can simply change between multiple DNS servers without having to go through the TCP/IP etc.

I run & have access to about 15 dif servers round the world, some are better for certain things (Cali for Netflix, London for BBC etc) But it's a complete pain having to change all the time, an app I could just click and set would be fucking awesome!

Any ides?
Title: DNS switching (easy?)
Post by: Craigor on April 04, 2013, 03:21:50 pm
command line:

netsh interface ip set dns "Local Area Connection" static 123.123.123.123
Title: DNS switching (easy?)
Post by: Slingshot on April 04, 2013, 03:46:02 pm
Write something to change [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters] & Interfaces\{blurgh}
"NameServer"="" to whatever.
Then ipconfig /registerdns
Title: DNS switching (easy?)
Post by: Growler on April 04, 2013, 04:14:32 pm
I said easy you fucking nerds!

hahaha, will look into other options, found some app that could let me do it
Title: DNS switching (easy?)
Post by: The Demon Lord on April 04, 2013, 04:31:14 pm
Quote from: Growler;1522553
I said easy you fucking nerds!

hahaha, will look into other options, found some app that could let me do it

Follow Craig suggestion - except type it into a notepad.

Save the notepad as 'BBC DNS.bat'

Right click on your Batch file - run as administrator

Done
Title: DNS switching (easy?)
Post by: Apostrophe Spacemonkey on April 04, 2013, 04:33:08 pm
Quote from: Craigorsarus;1522550
command line:

netsh interface ip set dns "Local Area Connection" static 123.123.123.123

Quote from: Growler;1522553
I said easy you fucking nerds!

hahaha, will look into other options, found some app that could let me do it

Craigs suggestion is easy as.

Create a bunch of bat files, i.e US.bat, NZ.bat, UK.bat

In each of them put the above command, with the relevant DNS address,

Done!
Title: DNS switching (easy?)
Post by: Apostrophe Spacemonkey on April 04, 2013, 04:34:14 pm
The Demon Lord wrote the same post as me at the same time.

We must be the same person.
Title: DNS switching (easy?)
Post by: The Demon Lord on April 04, 2013, 04:43:41 pm
Quote from: Spacemonkey;1522559
Craigs suggestion is easy as.

Create a bunch of bat files, i.e US.bat, NZ.bat, UK.bat

In each of them put the above command, with the relevant DNS address,

Done!

Well I guess imitation is the sincerest form of Flattery....
Title: DNS switching (easy?)
Post by: Apostrophe Spacemonkey on April 04, 2013, 04:49:16 pm
I posted at the same time, didn't even read yours.

We must be the same person. Or we are good and evil versions of each other.
Title: DNS switching (easy?)
Post by: Slingshot on April 04, 2013, 05:00:49 pm
Quote from: Growler;1522553
I said easy you fucking nerds!

hahaha, will look into other options, found some app that could let me do it

Give me your name servers and I'll make a tojan... I mean app, for you.

oh, and maybe the interface you want.
Title: DNS switching (easy?)
Post by: Slingshot on April 04, 2013, 11:37:12 pm
Try that.

follow example config in server.txt to add DNS entries.

Haven't tested it really.
Updated...

Probably run as admin.

https://www.virustotal.com/en/file/1883d54b177d82328e26990351facdf468bc1a619430a37b26a6b2143e7e7718/analysis/
Title: DNS switching (easy?)
Post by: The Demon Lord on April 05, 2013, 08:05:39 am
Quote from: Spacemonkey;1522564
I posted at the same time, didn't even read yours.

We must be the same person. Or we are good and evil versions of each other.

But Which one is Which?!?

*Cue the Twilight Zone theme tune*
Title: DNS switching (easy?)
Post by: Xenolightning on April 05, 2013, 08:17:39 am
Quote from: Slingshot;1522588
Try that.

follow example config in server.txt to add DNS entries.

Haven't tested it really.
Updated...

Probably run as admin.

https://www.virustotal.com/en/file/1883d54b177d82328e26990351facdf468bc1a619430a37b26a6b2143e7e7718/analysis/
Needs moar tray icon action :-P
Title: DNS switching (easy?)
Post by: Slingshot on April 05, 2013, 11:51:23 pm
Quote from: Xenolightning;1522598
Needs moar tray icon action :-P

:(
Title: DNS switching (easy?)
Post by: Growler on April 06, 2013, 08:51:14 am
works a dream!

This should be made public, cos everything else out there sucks donkey balls