3 ms·
The result of this looks a bit mixed up. Are you sure that sedding 0.0.0.0 works? There are some spammers who include 0.0.0.0 in the domain name for example. I
by StreamBright 6y ago
The result of this looks a bit mixed up. Are you sure that sedding 0.0.0.0 works? There are some spammers who include 0.0.0.0 in the domain name for example. I used positional splitting with awk to do the same. That worked very well.
- encom 6y agoThe `sed` turns this address=/example.com/0.0.0.0 into address=/example.com/ ...which makes dnsmasq return NXDOMAIN instead of 0.0.0.0. I think that's more correct.
- StreamBright 6y agoWhat about 0.0.0.0.nastydonain.com?
- encom 6y agoYes, I should fix `sed` to only match end-of-line.