Results 1 to 12 of 12
Thread: How do I trick DNS?
-
11-17-2002, 11:57 AM #1Web Hosting Evangelist
- Join Date
- Jun 2002
- Location
- houston, tx
- Posts
- 544
How do I trick DNS?
I have a customer that recently created a hosting account with us. He has a reallly poor ISP, that has not updated their DNS records for ages. He still can not ping his site one our servers after almost a week.
I know there is a file on his computer he can edit, that will bypass the lookup and point to my servers. Anyone know how to do this?Joe - HostingWave.Com / TXINSURANCE.COM
http://www.hostingwave.com
SURGEON GENERAL'S WARNING: Smoking Causes Lung Cancer, Heart Disease, Emphysema, And May Complicate Pregnancy.
-
11-17-2002, 12:24 PM #2Disabled
- Join Date
- Nov 2002
- Posts
- 29
Have you tried telling your customer to access his web site by the IP address. This may not work if his site is name-based.
The best solution is probably tell your client to e-mail his/her ISP and tell them to flush their DNS cache. It really isn't that much work.
-
11-17-2002, 12:32 PM #3Web Hosting Evangelist
- Join Date
- Jun 2002
- Location
- houston, tx
- Posts
- 544
I agree, but the ISP is some small Canadian company that won't answer.
Isn't there a way I can tell my PC that www.whatever.com is xxx.xxx.xxx.xxx ???Joe - HostingWave.Com / TXINSURANCE.COM
http://www.hostingwave.com
SURGEON GENERAL'S WARNING: Smoking Causes Lung Cancer, Heart Disease, Emphysema, And May Complicate Pregnancy.
-
11-17-2002, 01:52 PM #4Junior Guru Wannabe
- Join Date
- Jul 2002
- Posts
- 39
Under linux:
Edit /etc/hosts, done
UNder windows:
????
-
11-17-2002, 02:01 PM #5Web Hosting Master
- Join Date
- Oct 2001
- Posts
- 1,319
C:\WINNT\system32\drivers\etc\hosts on NT, and something like that on windows 98 (mabey replace winnt with windows
Avi B
-
11-17-2002, 02:23 PM #6Been around for too long...
- Join Date
- Aug 2002
- Location
- DC
- Posts
- 3,643
Windows 98 - C:\windows\hosts (there should be a hosts.sam file giving instructions).
-
11-17-2002, 02:36 PM #7Web Hosting Guru
- Join Date
- Aug 2002
- Location
- Downers Grove, IL
- Posts
- 304
why not just have your customer point his DNS settings to your DNS server? if his ISP hasn't updated their DNS records in a long time, then who knows what other servers he may not be able to get to. (i thought the DNS servers updated every night )
anyway, under linux, edit the /etc/resolv.conf file.
under windows, right click network neighborhood->properties. find the TCP/IP settings and double click. on the DNS tab, have him enter your DNS IP's instead of his ISP's ones.
i don't see why there would be any problems with doing this.
-
11-17-2002, 02:38 PM #8Web Hosting Master
- Join Date
- Oct 2001
- Posts
- 1,319
and if your server goes down for a reboot or freezes he wont be able to access any websites on the internet...
Avi B
-
11-17-2002, 03:20 PM #9Web Hosting Guru
- Join Date
- Aug 2002
- Location
- Downers Grove, IL
- Posts
- 304
Originally posted by MaB
and if your server goes down for a reboot or freezes he wont be able to access any websites on the internet...
-
11-17-2002, 03:38 PM #10Web Hosting Master
- Join Date
- Mar 2002
- Location
- Westbury, LI NY
- Posts
- 1,705
Originally posted by MaB
and if your server goes down for a reboot or freezes he wont be able to access any websites on the internet...
Though this doesnt work on sites that don't have their own IP. It also helps to have google's IP memorized as well http://216.239.35.100/
But your best bet would be to know of another set of DNSes.
And third is tertiary.
-
11-17-2002, 03:41 PM #11Web Hosting Master
- Join Date
- Oct 2001
- Posts
- 1,319
I assumed if the guy didnt know how to set the dns, he wouldnt know how to look up IPs and use them. Plus, (like you said) if there is more than 1 site on that ip it wont correctly. 3rdly, if he had more nameservers than just his hosts, why would he put his hosts in there at all?
Avi B
-
11-17-2002, 03:59 PM #12Web Hosting Evangelist
- Join Date
- Jun 2002
- Location
- houston, tx
- Posts
- 544
Actually I was just curious what file in Windows I can edit and tell it that www.whatever.com is xxx.xxx.xxx.xxx
That is all... I see now...
Having a customer put my dns information in his TCP/IP settings would be a huge problem..Joe - HostingWave.Com / TXINSURANCE.COM
http://www.hostingwave.com
SURGEON GENERAL'S WARNING: Smoking Causes Lung Cancer, Heart Disease, Emphysema, And May Complicate Pregnancy.