Banning

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AmeliaG
    Too lazy to set a custom title
    • Jan 2003
    • 10672

    #1

    Banning

    Hey, can someone tell me the difference in the code for blocking an IP from viewing a domain vs. redirecting an IP vs. banning anyone at a particular domain from looking at anything on a server? .htaccess vs. apache? Thanks much.
    GFY Hall of Famer

    AltStar Hall of Famer




    Blue Blood's SpookyCash.com

    Babe photography portfolio
  • Manansala
    Confirmed User
    • Jan 2005
    • 551

    #2
    If you ban an IP, any domain that resolves to that IP will be banned. If you ban a domain, the IP that resolves from that domain gets banned. If you have a custom resolver, set it to 3600 on TTL and every IP will reverse both to its RDNS and hostname to IP quickly and painlessly. Please be advised that it may consume bandwidth and system resources if not set properly.

    Everything with a * is considered a wildcard. IP 66.59.* bans everybody on that block, which is yea, alot!

    HOST *.domain.com bans eveything using that dns on the said domain name.

    Set effective TTL to 3600 (it's the number of seconds, push it more down and you'll have trouble). resolv.conf and hostname.id.db sets TTL.

    httpd or .htaccess. Both works fine as long as you know what you're doing. Both can be customized in many different ways. .htaccess can control access on individual/multiple dir/domains and httpd/apache will entirely control everything. .htaccess will cry.
    I don't have a signature. !

    Comment

    • reynold
      Too lazy to set a custom title
      • Oct 2002
      • 51271

      #3
      Hmmm...interesting info.

      Comment

      Working...