mafintosh / dns-packet

An abstract-encoding compliant module for encoding / decoding DNS packets
MIT License
207 stars 71 forks source link

Ad block dns server? #5

Closed Fenny closed 7 years ago

Fenny commented 7 years ago

Could you use this to detect certain ad hosts and return 0.0.0.0 and act like an ad blocker on dns level?

silverwind commented 7 years ago

Well, you could certainly try to build a DNS recursor with it that does that. There will likely be some missing features to support that, though.