New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 738939 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Add option to disable built-in Async DNS resolver

Reported by pa...@diovani.com, Jul 3 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36

Example URL:
http://example.dev

Steps to reproduce the problem:
1. Configure DnsMasq (or other local resolver) to resolve .dev domains
2. Add "nameserver 127.0.0.1" to /etc/resolve.conf
3. Try to visit any .dev domain

What is the expected behavior?
Load local website served in .dev

What went wrong?
"This site can’t be reached

This site on the company, organization or school intranet has the same URL as an external website. 

Try contacting your system administrator.
ERR_ICANN_NAME_COLLISION"

Did this work before? Yes There was a disable-async-dns chrome:flag, removed in commit eabf1f 

Chrome version: 59.0.3071.86  Channel: stable
OS Version: 
Flash Version: 

The Built-in Async DNS bypass local (OS) DNS resolver and that a causes a series of problems:

For Web Developers, for example, when adding a local domain to overrides a public one, for development purposes, Chromium often ignores it.

A simple option in Advanced Settings to disable Async DNS resolver shall solve that problem.

However, I don't think Chromium should resolve DNS anyway, since it's usually due to the OS.
 
Labels: TE-NeedsTriageHelp
This issue seems to be out of TE-scope as it is related to DnsMasq (or other local resolver).
Hence, adding label TE-NeedsTriagehelp for further investigation.

Thanks...!!
Components: -Internals>Network Internals>Network>DNS
Cc: eroman@chromium.org
+eroman, does your comment on https://bugs.chromium.org/p/chromium/issues/detail?id=702981#c3 also applies here? I don't know whether that's also expected to apply when configuring a local resolver.
Labels: Needs-Feedback
If system host resolution is returning 127.0.53.53, then this is a WontFix duplicate of  issue 702981 .

But from the user description it sounds like it could be an issue where the async DNS resolver is incorrectly obtaining 127.0.53.53 by not using the correct nameserver.

@paulo: Can you include the result from the following commands:

nslookup example.dev
nslookup example.dev 127.0.0.1
ping -c 1 example.dev

It looks like support for disabling async resolver was intentionally removed in  issue 432236 , but bugs in applying system settings should be addressed.

Comment 5 by pa...@diovani.com, Jul 6 2017

Here it goes:

➜  ~ nslookup example.dev

Server:         127.0.0.1
Address:        127.0.0.1#53

Name:   example.dev
Address: 127.0.0.1
** server can't find example.dev: NXDOMAIN

➜  ~ nslookup example.dev 127.0.0.1
Server:         127.0.0.1
Address:        127.0.0.1#53

Name:   example.dev
Address: 127.0.0.1
** server can't find example.dev: NXDOMAIN

➜  ~ ping -c 1 example.dev
PING example.dev (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.032 ms

--- example.dev ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.032/0.032/0.032/0.000 ms




And here my resolve.conf, dnsmasq and hosts configuration:

➜  ~ cat /etc/hosts
#
# /etc/hosts: static lookup table for host names
#

#<ip-address>   <hostname.domain.org>   <hostname>
127.0.0.1       localhost.localdomain   localhost paulodiovani-ideapad
::1             localhost.localdomain   localhost paulodiovani-ideapad
# End of file

➜  ~ cat /etc/dnsmasq.d/dev-tld 
local=/dev/
address=/dev/127.0.0.1


➜  ~ cat /etc/resolv.conf
# Generated by resolvconf

# Local (dnsmasq) resolver
nameserver 127.0.0.1

# ISP resolver
nameserver 189.7.112.36
nameserver 189.7.112.31

# Google DNS serves
nameserver 8.8.8.8
nameserver 8.8.4.4

Project Member

Comment 6 by sheriffbot@chromium.org, Jul 6 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "eroman@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: -eroman@chromium.org pauljensen@chromium.org juliatut...@chromium.org
What does chrome://net-internals/#dns show as the resolved IP for example.dev?

Either way, punting this to DNS folks.

Comment 8 by pa...@diovani.com, Jul 6 2017

Well, currently it points to 127.0.0.1.

I forgot to mention on the issue that local .dev names sometimes (most of time, actually) works. But it randomly fails with ERR_ICANN_NAME_COLLISION error.

I'll paste the chrome://net-internals/#dns as soon as it fails again (probably tomorrow)
I see thanks.

If it is only failing for certain .dev names and not the general case, then this is a duplicate of  issue 702981  (and working as intended).

By sporadic do you mean the same hostname fails only sometimes? Or is it consistent per hostname.

Comment 10 by pa...@diovani.com, Jul 7 2017

Here is the error on chrome://net-internals/#dns
Screenshot from 2017-07-07 10-59-30.png
48.8 KB View Download

Comment 11 by pa...@diovani.com, Jul 20 2017

Guys, I've recently (last Friday, to be exactly) migrated to Chromium (open source) and noticed that the problem happens only on Google Chrome (which I was using before).

Labels: Needs-Feedback
Please answer the questions in comment #9 and can you also please attach a net-internals log covering the failed resolution attempts?http://dev.chromium.org/for-testers/providing-network-details
Cc: mge...@chromium.org
Can you please respond to the question in comment 9 and 12. We can't make further progress without that information, and will have to close the bug otherwise.

Comment 15 by pa...@diovani.com, Aug 3 2017

Oh, sorry for the delay.

I'm currently unable to reproduce the bug. I'm not using local .dev domains for some time and as I said before it stopped happening since I've migrate to Chromium.

It's ok if you want to close the bug for now.
Project Member

Comment 16 by sheriffbot@chromium.org, Aug 3 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "pauljensen@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
This may be unreproducible presently due to fixing of  Issue 747069 .
Status: WontFix (was: Unconfirmed)
Closing, see comment #17.

Sign in to add a comment