[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DNS problems on Raspberry Pi 400 (Debian 10.9)



On 3/31/21, Moritz Kempe <deblist+debian@moke12g.de> wrote:
> On 3/31/21 1:25 PM, Greg Wooledge wrote:
>> On Wed, Mar 31, 2021 at 12:14:59AM +0200, Moritz Kempe wrote:
>>> -- Firefox Hmm. We’re having trouble finding that site. We can’t
>>> connect to the server at github.com.
>>> -- Chromium This site can’t be reachedCheck if there is a typo in
>>> github.com. DNS_PROBE_FINISHED_NXDOMAIN
>>> moke@rpi4-20201112:~$ host github.com Host github.com not found:
>>> 2(SERVFAIL)
>> grep ^hosts: /etc/nsswitch.conf
> --
> hosts:          files mdns4_minimal [NOTFOUND=return] dns mymachines

I don't trust multicast dns, so in addition to turning it off I've also got
$ grep host /etc/nsswitch.conf
# hosts:          files mdns4_minimal [NOTFOUND=return] dns
hosts:          files dns

Maybe worth a shot?

Regards,
Lee

>
> --
>
>
>> ls -ld /etc/resolv.conf
> --
> -rw-r--r-- 1 root root 54 Mar 31 13:28 /etc/resolv.conf
> --
>
>> cat /etc/resolv.conf
> --
> domain fritz.box
> search fritz.box
> nameserver 10.0.0.1
> --
>
>> dig @8.8.8.8 www.debian.org
> --
> ; <<>> DiG 9.16.13-Debian <<>> @8.8.8.8 www.debian.org
> ; (1 server found)
> ;; global options: +cmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20269
> ;; flags: qr rd ra ad; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1
>
> ;; OPT PSEUDOSECTION:
> ; EDNS: version: 0, flags:; udp: 512
> ;; QUESTION SECTION:
> ;www.debian.org.            IN    A
>
> ;; ANSWER SECTION:
> www.debian.org.        229    IN    A 130.89.148.77
> www.debian.org.        229    IN    A 149.20.4.15
> www.debian.org.        229    IN    A 128.31.0.62
>
> ;; Query time: 35 msec
> ;; SERVER: 8.8.8.8#53(8.8.8.8)
> ;; WHEN: Wed Mar 31 13:38:10 CEST 2021
> ;; MSG SIZE  rcvd: 91
>
> --
>
>
> I hope i interpreted your mail in the right way.
>
>


Reply to: