Hacker News new | ask | show | jobs
by 0JzW 1462 days ago
do you have any context for this? why is this API interesting?
1 comments

1. It’s new. You had to make those changes manually before

2. You can now automate a lot of things. Example: block twitter/fb/social media after 9pm for everyone.

Your second example would be subject to TTLs right?
Sure, but I'd expect those to be short enough to not matter for this purpose. The cutoff may happen at 9:05 istead of 9 sharp, which is close enough.

    drill facebook.com @8.8.8.8
    ;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 34092
    ;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
    ;; QUESTION SECTION:
    ;; facebook.com. IN A
    
    ;; ANSWER SECTION:
    facebook.com. 300 IN A 157.240.21.35