This is a discussion on Your own DNS within the Broadband How to forums, part of the Indian Broadband Forums category; A quick way to resolve URL to IP addresses is to create your own DNS mechanism. This is extremely easy. ...
| |||||||
| Broadband How to All sorts of technical know how related to internet connections, modems, routers and switches besides other equipment you use for internet connectivity |
| LinkBack | Thread Tools | Display Modes |
| | #1 |
| Platinum Member | A quick way to resolve URL to IP addresses is to create your own DNS mechanism. This is extremely easy. Every computer has a file called hosts. On a UNIX/Linux machine, it resides in /etc directory. In Windows it resides in %SYSTEM_ROOT%\system32\drivers\etc. (MAC users please update the location). This is a simple text file and can be edited by any text editor. I have attached a sample hosts.txt file from my own PC. All you have to do is: a) download it b) edit it to suit your requirements c) rename it as hosts (without the .txt extension) d) copy it to the desired location.
__________________ *** Never argue with an idiot *** To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. | To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. ------------------------------------------------------------------------------------------- |
| | |
| | #2 |
| Guest
Posts: n/a
| For big corporations like google , yahoo etc which have multiple servers for a single purpose eg email etc , is it possible to find ip of nearest/fastest server so that we can always get maximum speed ? |
| |
| | #4 |
| Silver Member Join Date: Nov 2008 Location: Chennai,Thiruvottriyur Age: 24
Posts: 338
Rep Power: 2 | yes, as just4kix said, even though there are many servers for a website, it has the same ip address. |
| | |
| | #5 |
| Junior Member Join Date: Jun 2008 Age: 24
Posts: 33
Rep Power: 2 | Well this won't be of much help. For example www[dot]google[dot]com This is actually a server (a load balancer basically) which then redirects you to a server depending on your location and the load on the other servers . And this redirection will again need DNS requests, so unless you can save the IPs of all the backend servers you will still need to wait for DNS requests |
| | |
| | #6 | |
| Platinum Member | Quote:
So I set the hosts table and internet started working for all the sites that were parts of my hosts table. Other sites would not open. After 30 minutes or so, the BSNL DNS server started working and then internet started working completely. | |
| | |
| | #7 |
| Bronze Member Join Date: Jan 2009 Age: 18
Posts: 164
Rep Power: 1 | Trying it out right now.... |
| | |
| | #8 | |
| Bronze Member Join Date: Dec 2008
Posts: 132
Rep Power: 1 | Quote:
Host Details by Name : google(dot)com 74.125.45.100 209.85.171.100 72.14.205.100 Host Details by Name : www(dot)google(dot)com 74.125.95.103 74.125.95.104 74.125.95.147 74.125.95.99 It shows multiple IP address for same domain name. | |
| | |
| | #9 |
| Amor vincit omnia | The same can be done in Windows environment by using Treewalk DNS. Same domain, multiple IP : due to that fact that servers are scattered allover the globe. Whenever a query is rised, the nearest one is connected into. |
| | |
| | #12 |
| Junior Member Join Date: Oct 2008 Location: delhi Age: 21
Posts: 26
Rep Power: 2 | ok i know u can do it but why do it? will it speed up connections or what? can u explain bro? |
| | |
| | #13 | |
| Amor vincit omnia | Quote:
Instead of relying on the DNS server of your ISP u can make your own PC as the DNS server. So the timeframe required to contact the ISP's DNS will be reduced drastically. Connections are not sped up. Minor changes can be noted in browsing experience. Thats all. Hope it was clear | |
| | |
| | #14 |
| Silver Member Join Date: Dec 2008 Location: h
Posts: 389
Rep Power: 1 | I know that DNS has no connection with download speed. But when I tried this while I was downloading a torrent, my speed dropped by about 5 kB/s. I had to revert to my isp's DNS. |
| | |
| | #15 |
| Amor vincit omnia | U cannot change the dns settings on the fly. Ofcourse u can change it, but inorder to be implemented it has to be renewed/flushed. For that u need to stop the current data transfers, install the necessary software which facilitates DNS, restart the pc and resume downloading. |
| | |
| | #16 |
| Silver Member Join Date: Dec 2008 Location: h
Posts: 389
Rep Power: 1 | I mean I did all that.I think the reliance servers are not so congested coz its relatively new in Mumbai...thats why I might not have noticed any increase in browsing speed as well. |
| | |
| | #17 |
| Bronze Member Join Date: Aug 2009 Age: 19
Posts: 286
Rep Power: 1 | I wanted to ask creating our own dns is better or worse than open dns? |
| | |
| | #18 |
| Bronze Member Join Date: Sep 2008 Location: Cochin/Bangalore Age: 26
Posts: 164
Rep Power: 2 | |
| | |
| | #19 |
| Bronze Member Join Date: Aug 2009 Age: 19
Posts: 286
Rep Power: 1 | |
| | |
| | #20 |
| Platinum Member | |
| | |
| Tags |
| dns |
| Thread Tools | |
| Display Modes | |
| |