{"action":"opened","issue":{"url":"https://api.github.com/repos/apache/trafficserver/issues/4514","repository_url":"https://api.github.com/repos/apache/trafficserver","labels_url":"https://api.github.com/repos/apache/trafficserver/issues/4514/labels{/name}","comments_url":"https://api.github.com/repos/apache/trafficserver/issues/4514/comments","events_url":"https://api.github.com/repos/apache/trafficserver/issues/4514/events","html_url":"https://github.com/apache/trafficserver/issues/4514","id":375248530,"node_id":"MDU6SXNzdWUzNzUyNDg1MzA=","number":4514,"title":"DNS Failover mode does not failover","user":{"login":"pushkar2017","id":28606507,"node_id":"MDQ6VXNlcjI4NjA2NTA3","avatar_url":"https://avatars1.githubusercontent.com/u/28606507?v=4","gravatar_id":"","url":"https://api.github.com/users/pushkar2017","html_url":"https://github.com/pushkar2017","followers_url":"https://api.github.com/users/pushkar2017/followers","following_url":"https://api.github.com/users/pushkar2017/following{/other_user}","gists_url":"https://api.github.com/users/pushkar2017/gists{/gist_id}","starred_url":"https://api.github.com/users/pushkar2017/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pushkar2017/subscriptions","organizations_url":"https://api.github.com/users/pushkar2017/orgs","repos_url":"https://api.github.com/users/pushkar2017/repos","events_url":"https://api.github.com/users/pushkar2017/events{/privacy}","received_events_url":"https://api.github.com/users/pushkar2017/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-29T22:48:13Z","updated_at":"2018-10-29T22:48:13Z","closed_at":null,"author_association":"NONE","body":"Background:\r\nATS can be configured to use the DNS nameservers in RR mode or Failover mode using the config parameter: CONFIG proxy.config.dns.round_robin_nameservers\r\nWhen CONFIG proxy.config.dns.round_robin_nameservers INT 0 the nameservers are used in failover mode. I.e. ATS will try to use the first/primary resolver in /etc/resolv.conf.\r\nIssue:\r\nIf the primary nameserver doesn't respond, ATS is supposed to fallback to the next nameserver in the list but it doesn't do that because the code to detect failure is in DNSHandler::mainEvent. This method is only invoked when responses are received.. So it turns out to be a chicken and egg problem."}}
{"actor":{"display_login":"pushkar2017"}}