Posted: Wed Jan 02, 2013 18:33 Post subject: Different DNS Servers for spesific domain or url?
Hello Everybody!
I have a Linksys E1200 V2 running
DD-WRT v24-sp2 (07/20/12) mega
(SVN revision 19519)
I am using opendns at the moment, but i suffer from speed impact on youtube due to the fact im not utilizing the ISP cache, as well as speed impact on several Israeli sites.
What I would like to accomplish is the following:
a. use opendns for primary browsing (all urls)
b. for specific urls i would like to use a different dns server
i do not want to change to isp dns because it is slow on most of the sites.
is what I described considered possible with dd-wrt? if so, how?
and if not, would you be kind enough to explain why not?
Joined: 24 Feb 2009 Posts: 2026 Location: Sol System > Earth > USA > Arkansas
Posted: Thu Jan 03, 2013 3:33 Post subject:
Although I could be wrong, I think the only way you can use a "different" DNS server is to have your own 'local' server set up as a DNS host for your network and then make an appropriate settings change on *your* server.
Otherwise, it is not possible to use different DNS settings for just one site. Reason: there is no mechanism for DNS (that I know of) to do this.
One alternative method would be to locate all IP addresses for these sites and put them into a hosts file on your computer. Short of doing so call "tricks" with proxying software (having a local proxy software use different DNS), there does not appear to be another way. _________________ E3000 22200M KongVPN K26
WRT600n v1.1 refirb mega 18767 BS K24 NEWD2 [not used]
WRT54G v2 16214 BS K24 [access point]
Try Dropbox for syncing files - get 2.5gb online for free by signing up.
Read! Peacock thread
*PLEASE* upgrade PAST v24SP1 or no support.
Joined: 24 Feb 2009 Posts: 2026 Location: Sol System > Earth > USA > Arkansas
Posted: Fri Jan 04, 2013 4:28 Post subject:
Interesting Malitiacurt. I stand corrected. I suppose there is a way to do it.
@BennyBron - The way to test it would likely be to use the command "nslookup". With it, you can check the various IP addresses that would be returned from the different DNS servers. You go and visit your "different" DNS site, and see what IP it gives you and then compare that with nslookup. _________________ E3000 22200M KongVPN K26
WRT600n v1.1 refirb mega 18767 BS K24 NEWD2 [not used]
WRT54G v2 16214 BS K24 [access point]
Try Dropbox for syncing files - get 2.5gb online for free by signing up.
Read! Peacock thread
*PLEASE* upgrade PAST v24SP1 or no support.
Joined: 24 Feb 2009 Posts: 2026 Location: Sol System > Earth > USA > Arkansas
Posted: Fri Jan 04, 2013 17:16 Post subject:
The "server" option in nslookup is for which *DNS* server you want to use. You *might* get different results with different DNS servers, but not always.
Code:
>nslookup
DNS request timed out.
timeout was 2 seconds.
Default Server: UnKnown
Address: 2620:0:ccc::2
> server 68.94.156.1
Default Server: dnsr1.sbcglobal.net
Address: 68.94.156.1