Announcement

Collapse
No announcement yet.

DNS Redirecting / Blocking question (urgent)

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • DNS Redirecting / Blocking question (urgent)

    Hi there,

    I've been messing about with DNS locally and came up with an experiment however I got stumped with the DNS settings. This is where I'm hoping someone here can give me a solution!

    Right simple explanation - I want every site possible to be redirected to one single sole IP (for this test). i.e:

    I can add:

    example.com IN A 192.168.1.1
    exampleb.com IN A 192.168.1.1

    but it takes far to long for every possibility.

    I know you can block a load of websites from the firewall etc etc but that is not what I wanna do - I need to do it with DNS for this experiment - please help!

    I've googled it and nothing seems to turn it up, if there was a root level wildcard (I know the subdomain one works but I'd love one for *.com or *.co.uk etc)

    Thanks

  • #2
    Re: DNS Redirecting / Blocking question (urgent)

    Euh do I understand you correctly you want to block *.com. ?
    Marcel
    Technical Consultant
    Netherlands
    http://www.phetios.com
    http://blog.nessus.nl

    MCITP(EA, SA), MCSA/E 2003:Security, CCNA, SNAF, DCUCI, CCSA/E/E+ (R60), VCP4/5, NCDA, NCIE - SAN, NCIE - BR, EMCPE
    "No matter how secure, there is always the human factor."

    "Enjoy life today, tomorrow may never come."
    "If you're going through hell, keep going. ~Winston Churchill"

    Comment


    • #3
      Re: DNS Redirecting / Blocking question (urgent)

      I think you'll have a better chance of achieving your intended results if you approach this problem by considering a proxy solution.

      I would recommend Blue Coat.
      JM @ IT Training & Consulting
      http://www.itgeared.com

      Comment


      • #4
        Re: DNS Redirecting / Blocking question (urgent)

        You can edit HOSTS with necessary list of domains.
        As you may know, request to this file goes before dns.

        Comment

        Working...
        X