You are not logged in.

#1 2020-11-30 18:33:42

Bodiless Sleeper
Member
Registered: 2020-01-20
Posts: 6

I've got problems setting up DNS on my laptop [SOLVED]

I managed to install arch perfectly fine on my laptop with wifi working out of the box (that iwd popup on startup really saved me lots of googling), and the connection on the live USB is as perfect as it can be
On the other hand I got no connection on my install all due to DNS, even tho I'm pretty sure (but probably wrong) I even copied all the configs from the live USB onto my install
This is what my configs look like rn

/etc/resolve.conf

# This file is managed by man:systemd-resolved(8). Do not edit.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs should typically not access this file directly, but only
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.

nameserver 127.0.0.53
options edns0 trust-ad

/etc/systemd/resolved.conf

#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
#
# See resolved.conf(5) for details

[Resolve]
#DNS=
#FallbackDNS=1.1.1.1 9.9.9.10 8.8.8.8 2606:4700:4700::1111 2620:fe::10 2001:4860:4860::8888
#Domains=
#DNSSEC=no
#DNSOverTLS=no
#MulticastDNS=yes
#LLMNR=yes
#Cache=yes
#DNSStubListener=yes
#ReadEtcHosts=yes
#ResolveUnicastSingleLabel=no

Thanks in advance

Last edited by Bodiless Sleeper (2022-01-16 03:46:26)

Offline

#2 2020-11-30 18:38:52

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: I've got problems setting up DNS on my laptop [SOLVED]

Did you enable the service?

Check `resolvectl status`, if not, `systemctl enable --now systemd-resolved`...

But read `man systemd-resolved` and the respective wiki page for HOW to use it.


My reposSome snippets

Heisenberg might have been here.

Offline

#3 2020-11-30 18:56:19

Bodiless Sleeper
Member
Registered: 2020-01-20
Posts: 6

Re: I've got problems setting up DNS on my laptop [SOLVED]

It is enabled and running, and I got really confused reading systemd-resolved Wiki, on what I can and should actually change. That's kinda why I'm looking for help here

Last edited by Bodiless Sleeper (2020-11-30 18:56:45)

Offline

#4 2020-11-30 19:01:47

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 696

Re: I've got problems setting up DNS on my laptop [SOLVED]

Bodiless Sleeper wrote:

It is enabled and running, and I got really confused reading systemd-resolved Wiki, on what I can and should actually change. That's kinda why I'm looking for help here

Well, I could have been more specific...my fault.

Post the output of:

resolvectl status
stat /etc/resolv.conf
ip a l

That should cover everything so it should™ be obvious what could be wrong.


My reposSome snippets

Heisenberg might have been here.

Offline

#5 2022-01-16 03:45:23

Bodiless Sleeper
Member
Registered: 2020-01-20
Posts: 6

Re: I've got problems setting up DNS on my laptop [SOLVED]

I fixed it and forgot to post it here, I was simply missing dhcpcd and the errors I got weren't descriptive enough for me to realise at first that I don't even have an IP assigned to me...

Offline

Board footer

Powered by FluxBB