Le 18/01/2018 à 22:34, D. R. Evans a écrit :
I am trying to configure a debian stretch box to provide certain services to my home network. (In the past this was a wheezy box, and I had everything working fine. I have not changed the configuration of any other machine; so, for example, DNS requests from machines on the LAN are still sent to the stretch machine for resolution.)Somehow I can't get name resolution to work except locally on the stretch box itself. Can someone please point me to intelligible instructions as to how to have the stretch box respond correctly to remote DNS requests coming in over the local network? This seems to be one of those things that systemd has taken over ("named" is no longer available in the repository, for example, presumably because it's no longer needed), and my attempts to find documentation on how to configure a machine as a DNS server under systemd have failed, probably because I'm not being sufficiently smart about search terms.
named is not a package name. The package name is and has always been bind9. Note that there are other recursive DNS server packages such as unbound.
Just to be clear: 1. If I ping a destination by name from the stretch box, it resolves the name and pings the destination. 2. If I ping the IP address of a destination on the internet from a machine on the LAN, the ping works. 3. If I ping a destination on the internet *by name* from a machine on the LAN, the ping does not work. 4. Any attempt to resolve a name from a machine on the LAN fails; attempting to resolve the same name from the stretch machine works.
Note : ping is not a proper DNS tool becaus it calls the libc resolver for name resolution, which may use other name sources than DNS. Use dig, host or nslookup instead.

