2. DNS hijacking certainly is not mandated by law.
Edit: Here is a post by Adrian Kennard, CEO of Andrews & Arnold ISP in the UK, regarding porn filters:
http://www.revk.uk/2014/02/porn-filters-no-it-is-not-law.htm...
Not unlike in Pulp Fiction, Jules "encouraging" Brett not to say "what" again.
> DNS hijacking certainly is not mandated by law.
As others have said already, unfortunately it is, just not for adult filtering.
> If you think these companies enjoy wasting resources on porn filter then you're crazy
I don't know who's misleading you but BT offered parental controls, including adult content filtering, long before the 2013 governmental push. All they did was turn it on by default (it was off by default, before).
And none of this excuses hijacking DNS to offer parental controls. There are far better technical ways to achieve that.
And by the way, I don't live in the UK anymore and I don't like what you're implying with who I may or may not be voting for. I left when it got shit. Voted with my feet.
Sorry I'm a non-devops programmer ;) bad me. What are the better ways? HTTP 403 and friends? (Praying that you won't say "a .exe to fix the browser's access to porn")
Unless you consider it sane to block anything that is not http.
But, well, the idea of filtering bad things from the internet is insane enough by itself.
edit because HN won't let me post a rebuttal to the reply below:
Private corporations can be compelled and coerced by the government in other ways that aren't readily publicized. If you think these companies enjoy wasting resources on porn filter then you're crazy. Wikipedia:
"Prime Minister David Cameron made it clear in July 2013 that his aim was to ensure that by the end of 2013 all ISPs would have a filtering system in place.[13] As a result three of the four major ISPs (TalkTalk, Sky and BT[14]) began applying default filtering to new customers in 2013[15] with the fourth major ISP, Virgin, doing so in February 2014.[16] Default filtering of existing customers was implemented by all four major ISPs during 2014 with the aim of ensuring that the system applied to 95% of all households by the end of the year.[17][18]"
This timing isn't a big coincidence. Elect a better PM (or indirectly elect considering this is the UK) if you don't want such shenanigans.