DNS – restricționare acces site-uri noroc ilegale

Cei de la ONJN muncesc cu spor la cenzura internetului în România, iar furnizorii de servicii de telecomunicații le cânta în strună. Dacă lucrați pentru un furnizor și trebuie mort-copt să filtrați traficul și să redirectați pe cei care îndrăznesc să acceseze un site declarat ilegal de ONJN, atunci va vor fi de folos informațiile de mai jos.

Presupun că rulați BIND ca și serviciul DNS local pe care îl interoghează clienții rețelei. Exemplul de mai jos este testat și este funcțional pe freeBSD 10.1.  Va trebui să facem setările astfel încât la interogările DNS de la clienți care privesc domeniile care se regăsesc în lista neagră a celor de la ONJN să fie returnată adresa IP 213.177.28.90. Deasemnea nu este util ca cineva să stea să facă manual verificarea listei și actualizarea setarile pe servere, deci va trebui să avem un script care să facă periodic aceste lucruri.

Soluția propusă de mine este:

  • adăugăm în fisierul named.conf (în cazul meu calea completă este: /usr/local/etc/namedb/named.conf), în cadrul directivei allow-query-cache și adresa IP impusă de cei de la Oficiul Național pentru Jocuri de Noroc, adica 213.177.21.162:

    allow-query-cache { acl_retea_locala; 213.177.21.162; };

  • la finalul aceluiași fișier named.conf vom adăuga următoarea directivă pentru a citi setările pe care le vom pune noi, cu ajutorul scriptului, în fisierul named-noroc.conf (atenție la calea completă):

    include "/usr/local/etc/namedb/named-noroc.conf";

  • ne asigurăm că avem instalat pe sistem wget;
  • creeam fișierul jocuri-noroc.sh pe care îl plasăm în directorul /usr/local/bin/ și îi dăm permisiuni de execuție, cu următorul conținut:
    script-automatizare-dns-jocuri-noroc
  • adăugăm în fișierul /etc/crontab următoarea linie pentru a rula acest script zilnic la ora 15:20:

    20 15 * * * root /usr/local/bin/bash /usr/local/bin/jocuri-noroc.sh >> /var/log/jocuri-noroc.log

  • creem fișieru /usr/local/etc/namedb/master/noroc.db în care punem următorul conținut:
    zona-dns-jocuri-noroc

După rularea scriptului, fisierul /usr/local/etc/namedb/named-noroc.conf are următorul conținut, plecând de la lista neagra disponibila în data de 1 decembrie 2015:

zone "10bet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "10betro.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "10bets10.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "11bets10.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "123vegaswin.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "12bet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "12bets10.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "138.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "13bets10.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "188bet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "1bet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "1bet2bet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "1bets10.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "1xbet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "21nova.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "24hbet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "7epta7.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "7red.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "7regal.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "9bets10.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "aladdinsgoldcasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "alljackpotscasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "allstarslots.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "aztecrichescasino.eu" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "baroneycasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "bestpoker.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "bet1128.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "bet3000.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "betatcasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "bet-at-home.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "betboo.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "betclic.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "betcris.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "betdaq.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "betfair.com.au" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "betfred.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "betgoldcasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "betgun.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "betin.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "betinternet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "betonline.ag" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "betplay.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "betrebel.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "betrebels.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "betredkings.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "betsafe.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "betsbc.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "betsonic.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "betsonik.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "betsson.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "betvictor.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "betway.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "bgroom.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "bingo.se" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "blackjackballroom.eu" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "bovada.lv" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "bovadapoker.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "boylesports.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "bravesamurai.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "brpokerclube.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "buzzluck.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "bwin.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "captaincookscasino.eu" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "carbonpoker.ag" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "cashpoint.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casino848.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casino-atlanta.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casino-classic.eu" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinoclub.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinocruise.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinodelrio.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinoeuro.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinoking.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinokingdom.eu" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinomaxi.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinomaxi1.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinomaxi10.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinomaxi11.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinomaxi2.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinomaxi3.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinomaxi4.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinomaxi5.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinomaxi6.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinomaxi9.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinometropol.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinometropol1.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinometropol10.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinometropol11.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinometropol12.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinometropol2.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinometropol3.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinometropol4.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinometropol5.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinometropol6.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casino-on-net.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinoshare.eu" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casinotropez.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "casino-x.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "challengecasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "cherrycasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "club777.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "clubgoldcasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "clubgoldcasino.net" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "clubworldcasinos.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "colosseumcasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "comeon.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "coral.co.uk" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "crazyvegas.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "cristalpoker.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "dobet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "doxxbet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "dragonspoker.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "duel5.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "energycasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "eucasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "eurocasinobet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "eurogrand.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "eurokingclub.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "europacasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "euroslots.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "everestcasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "everestpoker.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "expekt.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "favbet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "fortunebeach.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "futuriticasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "futuriticasino.in" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "galacasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "gamebookers.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "gamingclub.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "gigalotto.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "goldbet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "goldenreefcasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "goldenrivieracasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "goldentigercasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "gowildcasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "gr88.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "grandhotelcasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "grandmondial.eu" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "greendollarpokercasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "grosvenorcasinos.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "gslotpoker.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "highnooncasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "imperialcasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "intercasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "intertops.eu" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "interwetten.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "intragame.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "islandcasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "jackpotcapital.eu" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "jackpotcitycasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "jackpotjoy.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "jetbull.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "joylandcasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "karamba.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "ladbrokes.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "lasvegasusa.eu" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "leaderbet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "leonbets.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "lolita-casino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "lottobird.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "lotusasiacasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "lsbet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "luckyacepoker.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "luckycatpoker.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "luckyemperorcasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "luckylivecasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "luxbet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "magicred.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "mandarinpalace.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "mansioncasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "maplecasino.ca" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "marathonbet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "mariacasino.co.uk" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "maxcasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "maxiplay.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "mb24.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "meccabingo.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "megaloterii.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "mrgreen.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "mybet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "noblecasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "nopropoker.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "nordicbet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "norocasino.ro" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "nostalgiacasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "noxwin.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "olimpopoker.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "omnicasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "ovocasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "pacificpoker.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "paddypower.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "pampercasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "parasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "parisvegascasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "partycasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "partypoker.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "phoeniciancasino.eu" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "pinnaclesports.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "pinocchiopoker.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "pkr.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "planetofbets.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "platinumplaycasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "playbet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "playeurolotto.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "playmillion.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "playminilottos.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "poker4x.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "pokerheaven.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "pokerklas14.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "pokerteck.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "prestigecasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "primecasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "profitpokerclub.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "propokerevolution.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "quasargaming.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "queenvegas.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "redbet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "redflushcasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "redkings.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "reefclubcasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "rivalo.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "royalpanda.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "royalvegascasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "rummy-party.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "rummyroyal.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "sbobet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "scasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "silversandscasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "simbagames.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "slotastic.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "slotland.eu" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "slotsmagic.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "slotsplus.eu" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "slottyvegas.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "smartlivegaming.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "sportbet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "sportsbetting.ag" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "sportsbook.ag" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "sportsinteraction.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "sportsrebels.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "stanjames.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "strikeitluckycasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "sunbingo.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "sunpalacecasino.eu" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "superloterii.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "supremeplay.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "tatts.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "thelotter.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "tipico.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "titanbet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "titancasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "titanpoker.co.uk" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "titanpoker.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "tivolicasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "tomwatherhouse.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "totelfootball.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "totesport.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "totowinbet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "trimori.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "triobet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "tropeziapalace.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "twinspires.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "twistcasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "ukcasinoclub.eu" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "vegascasinoonline.eu" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "vegascountrycasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "vegasjokercasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "vegasslotcasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "vernons.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "villento.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "vipcasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "virgingames.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "virtualcitycasino.eu" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "vistabet.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "wettpunkt.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "wildjackcasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "williamhill.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "williamhillcasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "winadaycasino.eu" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "windowscasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "winnings.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "yogapoker.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "youwin.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "yukongoldcasino.eu" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };
zone "zodiaccasino.com" { type master; file "/usr/local/etc/namedb/master/noroc.db"; };

Putem testa funcționarea cu:

modificari-dns-jocuri-noroc

Câtea observații:

  • atenție la calea către bash și către wget
  • isteții de la ONJN pai lasă și câte un spațiu la finalul unor nume de domeniu, e important să le scoatem
  • nu facem nici un fel de verificare a datelor preluate, ceea ce reprezintă un risc din punct de vedere al securității
  • se poate ajunge foarte ușor în situația de a nu mai funcționa serverele DNS în urma parsării unui fișier cu conținut incorect
  • recomand doar rularea manuala a scriptului și verificarea fișierului rezultat.

Articole asemanatoare:

Un comentariu la „DNS – restricționare acces site-uri noroc ilegale

  • 22 ianuarie 2016 la 22:15
    Permalink

    De ceva vreme au facut si ei un script pe care il promoveaza, care face automat.
    Ma intreb ce fac totusi cu cei care folosesc google DNS sau alte DNS-uri publice..

Lasă un răspuns

Adresa ta de email nu va fi publicată. Câmpurile obligatorii sunt marcate cu *

Acest sit folosește Akismet pentru a reduce spamul. Află cum sunt procesate datele comentariilor tale.