Results 1 to 5 of 5

Thread: Tricking DNS?

  1. #1

    Tricking DNS?

    Hello,

    We have a local caching DNS server (using BIND) at our location. Is there any way we can tell it to basically point a specific domain to a certain ip? We are not authorative for this domain and only need it for internal reasons.

    Let's say we want a domain that we don't own like yahoo.com to point to one of our LAN ips like 10.5.20.23. Is this possible? It would only affect us inside the network and nothing outside as only internal computers can see the dns server and use it.

  2. #2
    Join Date
    Nov 2001
    Location
    Ashburn, VA
    Posts
    1,206
    You could do this a couple ways. Ome way would be to create a zone file for the domain name, the same way that you would a valid address. The other way (simple) add the host to your /etc/hosts file.
    10.1.1.1 www.yahoo.com

    -Dan
    Affordable web hosting, design, & domain registration services since 2001
    www.serve-you.net

  3. #3
    As long as the internal clients use the dns server as their resolver you can setup any zone you want. But, there are some obvious reasons why you should be carefull, especially if they have access to the Internet.
    Softerweb
    http://www.softerweb.com
    Reliable webhosting, real easy, really affordable

  4. #4
    Join Date
    Dec 2001
    Location
    NYC, NY
    Posts
    798
    ya you can add a zone like yahoo.com and point it to any ip you want. Anyone using your dns as a resolver will go to the ip your pointed it to.

  5. #5
    Hmm... thanks guys, as you can tell DNS isn't my forte. Will try this out...

Related Posts from theWHIR.com

Posting Permissions

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