Bug 9481 - NetworkManager/Ping unable to resolve domains
Summary: NetworkManager/Ping unable to resolve domains
Status: RESOLVED NEEDINFO
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2016.11
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: Carlos Santos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-16 18:17 UTC by nnabavian
Modified: 2019-08-10 23:23 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nnabavian 2016-12-16 18:17:36 UTC
NetworkManager/Ping fails to resolve domain names, responds with "bad address".

This issue was seen on arm imx6 with ipv6.

By default NetworkManager.conf has set dns=dnsmasq
Although dnsmasq was not built as a part of the packages.

This issue was fixed by setting dns=none.

Also, the resolve.conf was a broken link.
This was fixed by reestablishing the symlink to the proper path.

ln -s /run/NetworkManager/resolv.conf /etc/resolv.conf


With theses changes NetworkManager was able to ping and resolve domains names.
Comment 1 Petr Vorel 2017-02-13 20:52:58 UTC
Could you please submit config file which you used for it?
Comment 2 Carlos Santos 2019-08-10 23:23:38 UTC
Closing, since the OP never provided the defconfig requested by Peter Vorel in comment #1.