Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #248839

Needless DNS queries

From Dieter Rohlfing <dr-erc@gmx.net>
Newsgroups linux.debian.user
Subject Needless DNS queries
Date 2022-06-07 17:10 +0200
Message-ID <EvJ0d-3dZZ-11@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hello everybody,

I've installed AdguardHome to serve the clients in my home network.

After checking AdguardHome's query logs I noticed a lot of needless DNS
queries.

When a client queries for a domain and the answer is NXDOMAIN, there is
immediately a second query with the original domain name, but suffixed
with the domain name of my home network.

Example:

1. query: www.example.com (result NXDOMAIN)
2. query: www.example.com.home.lan (result NXDOMAIN)

home.lan is the domain name of my home network, /etc/resolv.conf
contains the following line:

>search home.lan

When I delete this line from /etc/resolv.conf, then the second query
doesn't appear, but I loose the ability to use unqualified hostnames to
refer to local clients. :-((

Up to now I thought, the domain names in the search option is appended
only to unqualified names and not to qualified names. This assumption
seems to be false.

My question: is it possible to apply the search list only to
unqualified names?

Thanks for reading and have a nice day.

Dieter

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Needless DNS queries Dieter Rohlfing <dr-erc@gmx.net> - 2022-06-07 17:10 +0200
  Re: Needless DNS queries David Wright <deblis@lionunicorn.co.uk> - 2022-06-07 17:30 +0200
  Re: Needless DNS queries Dan Ritter <dsr@randomstring.org> - 2022-06-07 17:40 +0200
    Re: Needless DNS queries Tim Woodall <debianuser@woodall.me.uk> - 2022-06-07 18:10 +0200
    Re: Needless DNS queries Greg Wooledge <greg@wooledge.org> - 2022-06-07 19:00 +0200
      Re: Needless DNS queries Darac Marjal <mailinglist@darac.org.uk> - 2022-06-07 19:40 +0200
        Re: Needless DNS queries Lee <ler762@gmail.com> - 2022-06-08 00:10 +0200
      Re: Needless DNS queries Tim Woodall <debianuser@woodall.me.uk> - 2022-06-08 00:20 +0200
        Re: Needless DNS queries Lee <ler762@gmail.com> - 2022-06-08 03:00 +0200
          Re: Needless DNS queries Greg Wooledge <greg@wooledge.org> - 2022-06-08 03:10 +0200
            Re: Needless DNS queries Lee <ler762@gmail.com> - 2022-06-08 07:30 +0200
  Re: Needless DNS queries Dieter Rohlfing <dr-erc@gmx.net> - 2022-06-14 15:10 +0200

csiph-web