156 reputation
1318
bio website
location
age
visits member for 2 years
seen Jul 27 at 4:32

1d
awarded  Famous Question
Aug
15
awarded  Popular Question
Aug
14
awarded  Popular Question
Jul
2
awarded  Curious
Jun
27
awarded  Notable Question
Jun
15
accepted How can I return a specific error code at this point in my TCL script?
Jun
15
revised How can I return a specific error code at this point in my TCL script?
added 424 characters in body
Jun
15
asked How can I return a specific error code at this point in my TCL script?
Jun
2
comment How can I block a subdomain with dnsmasq?
It is unfortunate that this received the bounty automatically, even though it didn't answer the question.
May
30
comment How can I block a subdomain with dnsmasq?
That's exactly what I did after I tried host-record and cname. Worked like a charm! As for why host-record works for you, are you sure you're adding a subdomain of an already whitelisted domain? (btw edit your answer and I'll give you the bounty.)
May
30
comment How can I block a subdomain with dnsmasq?
Neither of these work. cname because There are significant limitations on the target; it must be a DNS name which is known to dnsmasq from /etc/hosts (or additional hosts files), from DHCP, from --interface-name or from another --cname. If the target does not satisfy this criteria, the whole cname is ignored. (man) I'm not sure why host-record doesn't work.
May
29
comment How can I block a subdomain with dnsmasq?
Editing clients' host files in this case is not possible/practical. How could the server be circumvented by an end user or a malicious attacker? As for using iptables/netfilter, I've looked into that in the past and the problem has always been using domain names in firewall rules - which are resolved at start up and subject to change. I do have an iptables rule to drop DNS queries though.
May
29
comment How can I block a subdomain with dnsmasq?
Ah, I forgot to mention. I have an iptables rule to drop DNS queries.
May
29
comment How can I block a subdomain with dnsmasq?
"I could go to my /etc/hosts file and fix the issue." You'd have to get the IP address first, which you wouldn't be able to on this network.
May
20
asked How can I block a subdomain with dnsmasq?
May
17
comment find: missing argument to -exec
GNUwin32 doesn't have expect :(
May
16
comment find: missing argument to -exec
What do you mean by bad-employee-trying-to-use-linux-but-we-impose-windows vibe that cygwin gives?
May
8
awarded  Talkative
May
8
accepted How can I run a “grep | grep” command as a string in a bash function?
May
8
comment How can I run a “grep | grep” command as a string in a bash function?
This is exactly what I had before someone told me to change it :)