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


Groups > linux.debian.user > #185902

Re: DHCP server that itself gets an IP address by DHCP

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: DHCP server that itself gets an IP address by DHCP
Date 2017-08-25 14:20 +0200
Message-ID <uilKF-3VD-9@gated-at.bofh.it> (permalink)
References <uhWMh-4E5-7@gated-at.bofh.it> <ui6Vj-2MH-3@gated-at.bofh.it> <ui750-2Q6-11@gated-at.bofh.it> <ui8X7-4cx-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Aug 25, 2017 at 07:34:16AM +0900, Mark Fletcher wrote:
> On Thu, Aug 24, 2017 at 04:39:13PM -0400, Greg Wooledge wrote:
> > I strongly recommend just running your own caching DNS resolver on the
> > DHCP server host.  ISP nameservers are often slow and unreliable.
> 
> OK, thanks for the advice. One possibly stupid question though... 
> whenever a DNS server running on my own firewall doesn't have an answer 
> to a DHCP query, it is going to broadcast it out... to the ISP's DNS 
> servers, no?

DHCP and DNS are two separate things.

DHCP is what your clients systems on your Local Area Network use to
get their IP addresses and netmasks and default gateways.  And possibly
also their list of DNS nameserver IP addresses, if you don't just
configure that locally.

DNS is the protocol used to look up domain names and get back IP
addreses, or vice versa.

If your firewall box is running a nameserver (i.e. a caching DNS
resolver), and if the LAN clients are configured to use that
nameserver, then no queries are ever sent to your ISP's nameservers
at all.  Your caching resolver does all the work, talking directly
to the root servers, and the .COM servers, and so on.

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


Thread

Re: DHCP server that itself gets an IP address by DHCP Reco <recoverym4n@gmail.com> - 2017-08-24 11:40 +0200
  threading, was Re: DHCP server that itself gets an IP address by DHCP David Wright <deblis@lionunicorn.co.uk> - 2017-08-24 15:30 +0200
    Re: threading, was Re: DHCP server that itself gets an IP address  by DHCP Reco <recoverym4n@gmail.com> - 2017-08-24 17:10 +0200
  Re: DHCP server that itself gets an IP address by DHCP Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-08-24 22:30 +0200
    Re: DHCP server that itself gets an IP address by DHCP Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-24 22:40 +0200
      Re: DHCP server that itself gets an IP address by DHCP Mark Fletcher <mark27q1@gmail.com> - 2017-08-25 00:40 +0200
        Re: DHCP server that itself gets an IP address by DHCP Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-25 14:20 +0200
          Re: DHCP server that itself gets an IP address by DHCP Mark Fletcher <mark27q1@gmail.com> - 2017-08-25 15:20 +0200
            Re: DHCP server that itself gets an IP address by DHCP Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-25 16:00 +0200
    Re: DHCP server that itself gets an IP address by DHCP Reco <recoverym4n@gmail.com> - 2017-08-24 22:40 +0200
      Re: DHCP server that itself gets an IP address by DHCP Mark Fletcher <mark27q1@gmail.com> - 2017-08-25 00:30 +0200
        Re: DHCP server that itself gets an IP address by DHCP Reco <recoverym4n@gmail.com> - 2017-08-25 10:20 +0200
        Re: DHCP server that itself gets an IP address by DHCP Greg Wooledge <wooledg@eeg.ccf.org> - 2017-08-25 14:20 +0200

csiph-web