1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

Blocking TLDs - Skynet/Diversion/Dnsmasq?

Discussion in 'Asuswrt-Merlin' started by ^Tripper^, Jan 15, 2020.

  1. ^Tripper^

    ^Tripper^ Regular Contributor

    Joined:
    Aug 16, 2014
    Messages:
    156
    Location:
    Disneyland with the death penalty
    Hi folks. I’m running Merlin’s 384.14 on an 86U with Skynet and Diversion and pixelserv. Wondering if there’s a way to block off a whole TLD?

    From what I can tell, the only option is to create a ‘dnsmasq.conf.add’ as Skynet and Diversion doesn’t allow something as drastic as blocking a whole TLD (probably with good reason).. unless I’m missing something obvious.:D

    I’ve tried creating the file in jffs- config with the following;

    Code:
    address=/.xyz/0.0.0.0
    address=/.pro/0.0.0.0
    Now that seems to work but DNS lookups have slowed down; pages take longer to load. I’ve also tried using pixelserv’s address and that seems to work the same.

    From a purely technical standpoint, what’s the best way to do this?

    Thank you!!
     
  2. thelonelycoder

    thelonelycoder Part of the Furniture

    Joined:
    Jan 23, 2014
    Messages:
    6,116
    Location:
    Switzerland
    Your syntax is wrong, use this and don't use the pixelserv-tls IP, just the null IP, otherwise pixelserv-tls will be extremely busy creating all those certificates for nothing IMHO.
    Code:
    address=/tld/0.0.0.0
    eg:
    Code:
    address=/xyz/0.0.0.0
    address=/pro/0.0.0.0
     
    ^Tripper^, L&LD and a5m like this.
  3. ^Tripper^

    ^Tripper^ Regular Contributor

    Joined:
    Aug 16, 2014
    Messages:
    156
    Location:
    Disneyland with the death penalty
    Gotcha.

    Thank you very much!
     
    L&LD likes this.