DNS resolution not working on fresh install Raspberry Pi3

Problems with packages? Post here, using [tags] of the package name.

DNS resolution not working on fresh install Raspberry Pi3

Postby raqua » Wed May 08, 2019 11:11 am

Hello.

I have fresh install on RPi3. DNS does not work, without me changing anything. All my other machines do get DNS working fine.
I use DHCP.
I installed manually bind-tools + dependencies and dig works fine and returns correct results. I can ping machines by IP but ping by hostname fails with 'Name or service not known". Curl fails too with similar message.

No idea what is wrong, please advise.
Thanks.
raqua
 
Posts: 5
Joined: Sat Feb 17, 2018 8:50 am

Re: DNS resolution not working on fresh install Raspberry Pi

Postby raqua » Thu May 09, 2019 8:35 pm

Ok here is how I solved this in case someone has the same issue.
It seems to be an issue with systemd version 242.

First of all, I do use DNSSEC with my router. When I tried systemd-resolve, it was complaining about invalid/expired DNSSEC certificate.
Setting in /etc/systemd/resolved.conf was (defaut):
#DNSSEC=allow-downgrade - note that it is commented out.

When I set that to "no" it started working. On my other RPi which had the same issue, but it was not vanilla Arch, the issue was also solved when I disabled systemd-resoved. I am using NetworkManager there and DNS works again just fine.
raqua
 
Posts: 5
Joined: Sat Feb 17, 2018 8:50 am

Re: DNS resolution not working on fresh install Raspberry Pi

Postby raqua » Thu May 09, 2019 8:35 pm

This thread gave me clue: https://bbs.archlinux.org/viewtopic.php?id=244209
Strangely, I do not have this issue on my x86 machines running Arch and Systemd v.242.
raqua
 
Posts: 5
Joined: Sat Feb 17, 2018 8:50 am

Re: DNS resolution not working on fresh install Raspberry Pi

Postby raqua » Thu May 09, 2019 9:34 pm

I spoke too soon. Disabling of the daemon does not work, just DNSSEC disabling.
raqua
 
Posts: 5
Joined: Sat Feb 17, 2018 8:50 am


Return to Packages

Who is online

Users browsing this forum: No registered users and 9 guests