You are not logged in.
Pages: 1
Yesterday I connected my computer (Arch) to a new WLAN, browsing without any problem at all. Today, same computer, same WLAN, I can't browse anymore: the names are no longer resolved. Other devices on the same network can browse. I tried to connect my computer to my Android hotspot and it worked.
$ ping google.com
ping: google.com: Name or service not known
$ dig google.com
; <<>> DiG 9.13.3 <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34550
;; flags: qr rd ra cd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; MBZ: 0x7fe8, udp: 512
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 97 IN A 216.58.205.142
;; Query time: 3 msec
;; SERVER: 192.168.178.1#53(192.168.178.1)
;; WHEN: Sat Nov 17 16:12:12 CET 2018
;; MSG SIZE rcvd: 55
I also tried to set custom DNSs to my /etc/resolv.conf, with no changes.
nameserver 1.1.1.1
nameserver 1.0.0.1
The router is a FRITZ!Box 7170, I'm not able to find any DNS related settings.
Offline
This might not be a DNS problem but a routing problem, especially if changing your name server doesn’t help. Can you reboot the FRITZ!Box?
Offline
The ";; SERVER: 192.168.178.1#53(192.168.178.1)" line indicates that dig is using your fritzbox successfully as DNS server.
Does your internet connection work? As in: can you ping external hosts, i.e. 1.1.1.1? If so, what is the content of your /etc/nsswitch.conf? If not, how do you connect to the internet?
Offline
Can you reboot the FRITZ!Box?
Already tried.
Does your internet connection work?
The connection works, my laptop is the only connected device which I'm not able to browse with.
what is the content of your /etc/nsswitch.conf
passwd: files mymachines systemd
group: files mymachines systemd
shadow: files
publickey: files
hosts: files mymachines myhostname resolve [!UNAVAIL=return] dns
networks: files
protocols: files
services: files
ethers: files
rpc: files
netgroup: files
Offline
Do you configure your network using systemd-networkd? "ps aux | grep resolved"?
Offline
I didn't configure my network, I always just connected to the Wifi and it works (but not this time).
$ ps aux | grep resolved
systemd+ 460 0.1 0.0 50812 9220 ? Ss 10:29 0:00 /usr/lib/systemd/systemd-resolved
Offline
I didn't configure my network
Well something must have done. Arch comes with no network configuration when first installed.
How do you connect to the network, enter passwords, etc.
Offline
I use nmtui to select the wifi and enter the password.
Offline
Either configure networkmanager to not use resolved, see https://jlk.fjfi.cvut.cz/arch/manpages/ … ger.conf.5 or configure resolved "properly", see https://wiki.archlinux.org/index.php/Sy … figuration
Alternatively drop NM and use wifi-menu on top of netctl. Ensure to disable systemd-resolved.
(Notice that "properly" is not actually possible since resolved's DNS resolution is systematically broken - deterministic DNS resolution is simply not possible)
Offline
Thank you very much seth. I'll try with the options you listed. Which of those options do you suggest?
I'm no longer in that location, so I'm not able to reproduce this problem, at least for the next weeks.
Last edited by spira_mirabilis (2018-11-18 20:35:17)
Offline
The one that suits you best. *My* preferences do not necessarily match yours and none of those options is outright stupid.
If you use a DNS cascade, systemd-resolved is a big no-go, but if you just want to use some DNS server that probably will provide you w/ the expectable resolution, they'll all - given proper config - get the job done.
Offline
Pages: 1