{"action":"created","issue":{"url":"https://api.github.com/repos/jsarenik/spf-tools/issues/15","labels_url":"https://api.github.com/repos/jsarenik/spf-tools/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/jsarenik/spf-tools/issues/15/comments","events_url":"https://api.github.com/repos/jsarenik/spf-tools/issues/15/events","html_url":"https://github.com/jsarenik/spf-tools/pull/15","id":85866650,"number":15,"title":"Add check for DNS lookup restriction","user":{"login":"jsarenik","id":244565,"avatar_url":"https://avatars.githubusercontent.com/u/244565?v=3","gravatar_id":"","url":"https://api.github.com/users/jsarenik","html_url":"https://github.com/jsarenik","followers_url":"https://api.github.com/users/jsarenik/followers","following_url":"https://api.github.com/users/jsarenik/following{/other_user}","gists_url":"https://api.github.com/users/jsarenik/gists{/gist_id}","starred_url":"https://api.github.com/users/jsarenik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsarenik/subscriptions","organizations_url":"https://api.github.com/users/jsarenik/orgs","repos_url":"https://api.github.com/users/jsarenik/repos","events_url":"https://api.github.com/users/jsarenik/events{/privacy}","received_events_url":"https://api.github.com/users/jsarenik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-07T06:45:28Z","updated_at":"2015-06-08T14:32:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jsarenik/spf-tools/pulls/15","html_url":"https://github.com/jsarenik/spf-tools/pull/15","diff_url":"https://github.com/jsarenik/spf-tools/pull/15.diff","patch_url":"https://github.com/jsarenik/spf-tools/pull/15.patch"},"body":"DNS lookups will not be initiated to the authoritative nameservers\nfor the domain if such requests are blocked by firewall. The check\ntakes `dig timeout` (i.e. 5 seconds) if the requests are blocked.\n\nAlso simplify alternates mechanism in mkblocks.sh to not query\nauthoritative nameservers so that the only script which stays\naffected by firewalling DNS is `despf.sh`."},"comment":{"url":"https://api.github.com/repos/jsarenik/spf-tools/issues/comments/110015037","html_url":"https://github.com/jsarenik/spf-tools/pull/15#issuecomment-110015037","issue_url":"https://api.github.com/repos/jsarenik/spf-tools/issues/15","id":110015037,"user":{"login":"jsarenik","id":244565,"avatar_url":"https://avatars.githubusercontent.com/u/244565?v=3","gravatar_id":"","url":"https://api.github.com/users/jsarenik","html_url":"https://github.com/jsarenik","followers_url":"https://api.github.com/users/jsarenik/followers","following_url":"https://api.github.com/users/jsarenik/following{/other_user}","gists_url":"https://api.github.com/users/jsarenik/gists{/gist_id}","starred_url":"https://api.github.com/users/jsarenik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsarenik/subscriptions","organizations_url":"https://api.github.com/users/jsarenik/orgs","repos_url":"https://api.github.com/users/jsarenik/repos","events_url":"https://api.github.com/users/jsarenik/events{/privacy}","received_events_url":"https://api.github.com/users/jsarenik/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T14:32:48Z","updated_at":"2015-06-08T14:32:48Z","body":"@urg Thanks for feedback. That's very strange behavior.\r\n\r\nOriginally I thought the firewall is blocking communication with DNS servers outside of local network, but now it rather seems that it is intercepting the DNS traffic. There's no point in making the script too clever, but I will add changes to make it exit when dig does not return what the script expects it to. Thanks!"}}