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


Groups > linux.debian.user > #274007

Re: DNS on minimal new installation

From Greg Wooledge <greg@wooledge.org>
Newsgroups linux.debian.user
Subject Re: DNS on minimal new installation
Date 2024-10-24 21:40 +0200
Message-ID <JBbQB-3XYB-3@gated-at.bofh.it> (permalink)
References <JBbxf-3XSn-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Oct 24, 2024 at 20:16:30 +0100, Chris Green wrote:
> It works fine though.  The /etc/resolv.conf is:-
> 
>     domain zbmc.eu
>     search zbmc.eu
>     nameserver 192.168.1.1
> 
> which simply means all DNS gets passed to my LAN's DNS server. Is that
> what one gets on a minimal installation, no explicit DNS server or
> resolv management?  I'm very happy with this, it's very simple and the
> backup system isn't going to make a lot of DNS queries such that it
> needs a DNS cache.  Have I understood this OK?

In a typical installation, on a typical network, you will get your DNS
configuration via DHCP, from whatever is acting as your network's DHCP
server.  In your case, I'm guessing it's a router.

Check the /etc/network/interfaces file and see if you have your interface
configured for dhcp.  I'm guessing you do.

With DNS configuration being provided by DHCP, any changes you make to
the /etc/resolv.conf file will be overwritten every time the DHCP client
daemon renews its DHCP lease.  This will usually happen once or twice
per day.

If you'd like to set up a local caching DNS nameserver, then you'll need
to work out a way to change your resolv.conf file without your changes
being overwritten.  There are many different approaches to this.

See <https://wiki.debian.org/resolv.conf> to see some ways of doing it.

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


Thread

DNS on minimal new installation Chris Green <cl@isbd.net> - 2024-10-24 21:20 +0200
  Re: DNS on minimal new installation Greg Wooledge <greg@wooledge.org> - 2024-10-24 21:40 +0200
    Re: DNS on minimal new installation Chris Green <cl@isbd.net> - 2024-10-24 23:00 +0200
  Re: DNS on minimal new installation Joe <joe@jretrading.com> - 2024-10-24 22:30 +0200
    Re: DNS on minimal new installation Greg Wooledge <greg@wooledge.org> - 2024-10-24 22:40 +0200
      Re: DNS on minimal new installation <tomas@tuxteam.de> - 2024-10-25 07:20 +0200
        Re: DNS on minimal new installation Chris Green <cl@isbd.net> - 2024-10-25 09:30 +0200
          Re: DNS on minimal new installation Joe <joe@jretrading.com> - 2024-10-25 10:40 +0200
            Re: DNS on minimal new installation <tomas@tuxteam.de> - 2024-10-25 11:40 +0200
      Re: DNS on minimal new installation Chris Green <cl@isbd.net> - 2024-10-25 09:20 +0200
      Re: DNS on minimal new installation Joe <joe@jretrading.com> - 2024-10-25 10:40 +0200
        Re: DNS on minimal new installation Greg Wooledge <greg@wooledge.org> - 2024-10-25 13:40 +0200
          Re: DNS on minimal new installation eben@gmx.us - 2024-10-25 17:50 +0200

csiph-web