ip-stories.com

  •  

    September 2010
    M T W T F S S
    « Aug    
     12345
    6789101112
    13141516171819
    20212223242526
    27282930  
  • Web Stat Counter

    • Search This Blog :

    • Add url
    • Add Me on FB

      Rahman Isnaini's Facebook profile
    • Hurricane Electric IPv6 Cert

      IPv6 Certification Badge for risnaini
    • comments

    • Visitors Referred From :

    • Geo Stats

    • Categories

    [DNS] Simple Way of Filtering specific subdomain [URL] using DNS Server

    Posted by admin on December 9th, 2009

    Blocking http://komiknabimuhammad.blogspot.com is again our topic.
    If you don’t have Cisco Router with NBAR [Regular Expression] capability to do this task, then use your DNS Server does it. Since DNS used by most of your users compared to Proxy only for some of total user you might have.

    Here what you have to do :

    1. Create Zone in named.conf
    My example : komiknabimuhammad.blogspot.com

    zone “komiknabimuhammad.blogspot.com” {
    type master;
    file “blocked/blocked.site”;
    };

    2. Create file for your zone. [what ever you named it].
    $TTL    86400
    @       IN      SOA     ns1.indo.net.id. hostmaster.indo.net.id. (
    2009120801
    3600
    3600
    360000
    86400 )
    IN      NS      ns1.indo.net.id.
    IN      NS      ns2.indo.net.id.
    IN      A       202.159.32.14

    3. This raw : “IN  A  202.159.32.14″
    Means any of request to resolve the URL “komiknabimuhammad.blogspot.com” will be redirected
    to Default Web Page on Server 202.159.32.14

    Nope sure if this can work with CNAME.
    Anyway, this only affect any of user who use your DNS Server to Resolve.
    Out of that, they still able to resolve to that subdomain.

    Note : Above task only affected to subdomain URL of Blogspot “komiknabimuhammad.blogspot.com” ONLY
    Not the Entire of Blogspot Pages which might be yet useful for us.

    Thanks to Geri Anggara
    a. rahman isnaini r.sutan

    *) Hey don’t forget to restart your DNS service…

    3 Responses to “[DNS] Simple Way of Filtering specific subdomain [URL] using DNS Server”

    1. yudibagan Says:

      One of The best Indonesia’s Networker

    2. Dian Says:

      Halo Pak Rahman,

      Btw jangan lupa di flush cache dns nya :p

    3. admin Says:

      @Yudi, Iso ae…
      Halo Dian, siap :) salam ma Affan Bassalamah…

    Leave a Reply

    XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>