On 21/01/2025 23:31, to...@tuxteam.de wrote:
On Tue, Jan 21, 2025 at 10:38:51PM +0700, Max Nikulin wrote:
On 19/01/2025 17:21, mick.crane wrote:
The other day changed the ISP's (Sky) router to have fibre connection.
Maybe the previous router was configured to serve .home DNS zone.
Judging by the other symptoms (ping working, browser not) the resolver
in the box is OK (the .home names are resolved in /etc/hosts).

I have read somewhere that chromium may read /etc/resolv.conf and send requests to the specified servers directly bypassing /etc/nsswitch.conf. (The statement needs verification.)

So ping uses name resolution similar to

    getent hosts rapunzel.home

while vivaldi might do (if DoH is disabled) equivalent of

    dig rapunzel.home

An attempt to guess if the router uses some zone

    dig -x 10.0.0.2
    dig @10.0.0.1 -x 10.0.0.2

The latter is to bypass local DNS caching that might do other fancy things (systemd-resolved, dnsmasq started by NetworkManager).

At least cloudflare and google do not resolve the host name (other DoH provider may behave in a different way)

curl -s -H 'accept: application/dns-json' \
   'https://dns.google/resolve?name=rapunzel.home' | jq .
curl -s -H 'accept: application/dns-json' \
   'https://1.1.1.1/dns-query?name=rapunzel.home' | jq .
{
  "Status": 3,
  "TC": false,
  "RD": true,
  "RA": true,
  "AD": true,
  "CD": false,
  "Question": [
    {
      "name": "rapunzel.home",
      "type": 1
    }
  ],
  "Authority": [
    {
      "name": "",
      "type": 6,
      "TTL": 86400,
"data": "a.root-servers.net. nstld.verisign-grs.com. 2025012102 1800 900 604800 86400"
    }
  ]
}


Reply via email to