{"action":"created","issue":{"url":"https://api.github.com/repos/jonathanio/update-systemd-resolved/issues/58","repository_url":"https://api.github.com/repos/jonathanio/update-systemd-resolved","labels_url":"https://api.github.com/repos/jonathanio/update-systemd-resolved/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/jonathanio/update-systemd-resolved/issues/58/comments","events_url":"https://api.github.com/repos/jonathanio/update-systemd-resolved/issues/58/events","html_url":"https://github.com/jonathanio/update-systemd-resolved/issues/58","id":390857192,"node_id":"MDU6SXNzdWUzOTA4NTcxOTI=","number":58,"title":"Pushed DNS servers are added at the end of the list and not used as a result","user":{"login":"ezaquarii","id":1426823,"node_id":"MDQ6VXNlcjE0MjY4MjM=","avatar_url":"https://avatars0.githubusercontent.com/u/1426823?v=4","gravatar_id":"","url":"https://api.github.com/users/ezaquarii","html_url":"https://github.com/ezaquarii","followers_url":"https://api.github.com/users/ezaquarii/followers","following_url":"https://api.github.com/users/ezaquarii/following{/other_user}","gists_url":"https://api.github.com/users/ezaquarii/gists{/gist_id}","starred_url":"https://api.github.com/users/ezaquarii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ezaquarii/subscriptions","organizations_url":"https://api.github.com/users/ezaquarii/orgs","repos_url":"https://api.github.com/users/ezaquarii/repos","events_url":"https://api.github.com/users/ezaquarii/events{/privacy}","received_events_url":"https://api.github.com/users/ezaquarii/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-13T20:58:38Z","updated_at":"2018-12-14T11:44:10Z","closed_at":null,"author_association":"NONE","body":"The script is run, but when I investigated resolv.conf I find this::\r\n\r\n```\r\nnameserver 8.8.8.8 <- manually added to systemd config\r\nnameserver 8.8.4.4 <- manually added to systemd config\r\nnameserver a.b.c.d <- pushed by ISP\r\n# Too many DNS servers configured, the following entries may be ignored.\r\nnameserver e.f.g.h  <- pushed by ISP\r\nnameserver 1.1.1.1 <- pushed by OpenVPN\r\nnameserver 1.0.0.1 <- pushed by OpenVPN\r\n```\r\n\r\nThis has 2 issues:\r\n1. DNSes provided by VPN are not used\r\n2. DNS leak occurs\r\n\r\nIMO the script should *replace* DNS servers somehow, or at least provide an option to do this."},"comment":{"url":"https://api.github.com/repos/jonathanio/update-systemd-resolved/issues/comments/447301275","html_url":"https://github.com/jonathanio/update-systemd-resolved/issues/58#issuecomment-447301275","issue_url":"https://api.github.com/repos/jonathanio/update-systemd-resolved/issues/58","id":447301275,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzMwMTI3NQ==","user":{"login":"piotr-dobrogost","id":92239,"node_id":"MDQ6VXNlcjkyMjM5","avatar_url":"https://avatars2.githubusercontent.com/u/92239?v=4","gravatar_id":"","url":"https://api.github.com/users/piotr-dobrogost","html_url":"https://github.com/piotr-dobrogost","followers_url":"https://api.github.com/users/piotr-dobrogost/followers","following_url":"https://api.github.com/users/piotr-dobrogost/following{/other_user}","gists_url":"https://api.github.com/users/piotr-dobrogost/gists{/gist_id}","starred_url":"https://api.github.com/users/piotr-dobrogost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotr-dobrogost/subscriptions","organizations_url":"https://api.github.com/users/piotr-dobrogost/orgs","repos_url":"https://api.github.com/users/piotr-dobrogost/repos","events_url":"https://api.github.com/users/piotr-dobrogost/events{/privacy}","received_events_url":"https://api.github.com/users/piotr-dobrogost/received_events","type":"User","site_admin":false},"created_at":"2018-12-14T11:44:10Z","updated_at":"2018-12-14T11:44:10Z","author_association":"NONE","body":"resolve.conf is very old concept and very limited in what it can represent and new concepts introduced by systemd-resolved such as routing DNS queries through specific interfaces can't be represented in resolve.conf\r\nIf you use systemd-resolved for resolving then you should be looking at `resolvectl status` (`systemd-resolve --status` when using systemd <239) and not resolve.conf\r\n"}}
{"actor":{"display_login":"piotr-dobrogost"}}