Results 1 to 12 of 12
  1. #1
    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.

  2. #2
    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.

  3. #3
    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.

  4. #4
    Under linux:

    Edit /etc/hosts, done

    UNder windows:
    ????

  5. #5
    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

  6. #6
    Join Date
    Aug 2002
    Location
    DC
    Posts
    3,643
    Windows 98 - C:\windows\hosts (there should be a hosts.sam file giving instructions).

  7. #7
    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.

  8. #8
    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

  9. #9
    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...
    if you have a reliable server, then you shouldn't worry. you'll have the same problem from the ISP as well. my ISP's DNS servers tend to go down from time to time (yes, both of them). however, you're not limited to just having 2 DNS entries. you can have your DNS server as the primary one, and the ISP's server as the secondary and 3rd (can't for the life of me remember what the word is for 3rd ).

  10. #10
    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...
    Actually, you can, it just takes a tiny bit of work. First, you can get to anything by knowing it's IP address. Second, get to your favorite website (via IP) that lets you tracert stuff through their page. Enter in whatever page you want to go to and look at the IP it tells you it resolves to.

    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. #11
    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

  12. #12
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •