Forum Moderators: phranque

Message Too Old, No Replies

How do I block an inactive domain name?

         

EastTexas

2:23 am on Jun 12, 2014 (gmt 0)

10+ Year Member



How do I block a inactive domain name (example.com)?
NOTE: I have blocked dns, and more.


Site Status: inactive

Domain Name: example.com
Registrant ID: <snip>
Registrant Contact Email: Email Masking Image@<snip>
Name Server: <snip>
Name Server: <snip>
Registration Date: 2006-02-23 16:37:51
Expiration Date: 2018-02-23 16:37:51
DNSSEC: unsigned

PS How do I edit the Post Title after a post?

[edited by: Ocean10000 at 4:59 am (utc) on Jun 12, 2014]
[edit reason] Examplified [/edit]

lucy24

4:23 am on Jun 12, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



How do I edit the Post Title after a post?

Only topics have titles, not individual posts. If you've made an awkward typo, you can go find a moderator-- this particular forum has three of 'em, because Apache makes people tired-- and ask him to fix it.

Now then...
How do I block a inactive domain name

Block in what way? Are you getting requests from the domain (referer or putative IP)-- or is it a former domain of your own that some hostfile somewhere thinks you're still using?

btw I'm not sure you're allowed to give that much detail in a post.

:: wandering off to find someone to ask ::

phranque

5:53 am on Jun 12, 2014 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



the specifics of your domain and IP don't matter and you can't post them in this forum anyway.

what do you mean by "block an inactive domain"?

EastTexas

5:50 pm on Jun 13, 2014 (gmt 0)

10+ Year Member



Who.is says the domain name is inactive.

aristotle

9:10 pm on Jun 13, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Does "inactive" mean "unregistered? Or is it registered, but an "inactive" parked page?

EastTexas

3:41 am on Jun 14, 2014 (gmt 0)

10+ Year Member



A lot of this junk is coming from .ua, .ru, .cn

Registered, but an "inactive", REFERER spam or .cn domain name rather than a ip.

lucy24

9:40 am on Jun 14, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



If you're talking about named domains, then I assume you mean referer spam. Sure, you can block those in mod_rewrite. It will look something like this:

RewriteCond %{HTTP_REFERER} nasty-spam-site\.ua
RewriteRule (\.html|/)$ - [F]


This kind of thing is typically restricted to requests for pages, so constrain the rule to whatever extension(s) you really use. Otherwise your server has to evaluate conditions on every single request all the time everywhere.

Requests from unwanted ranges should be blocked numerically, like

Deny from 12.34


Do not use domain names in "Deny from" directives, as it plays havoc with your logs. (And, presumably, makes your server do extra work beforehand. But it's the log disaster that's most visible.)

EastTexas

12:58 am on Jun 19, 2014 (gmt 0)

10+ Year Member



Registered domains, but "inactive" appears to becoming a trend for bots/spammers/hackers? At least for me...