Maintained by: NLnet Labs

Configuration for local server

Ludo
Mon Sep 25 19:04:20 CEST 2017


Hi Sonic, 

Thank you for your advice. 

I think I will go for the local-zone and local-data solution. 
It is exactly the same as modifying a hosts file and there is no difference between a real registered domain name and a private name, but it seems the simpliest way to achieve my first goal. 

Thanks again. :) 

----- Mail original -----

De: "Sonic" <sonicsmith at gmail.com> 
À: "Ludo" <ludovic.macros at free.fr> 
Cc: unbound-users at unbound.net 
Envoyé: Lundi 25 Septembre 2017 20:31:24 
Objet: Re: Configuration for local server 

On Mon, Sep 25, 2017 at 11:57 AM, Ludo via Unbound-users 
<unbound-users at unbound.net> wrote: 
> Reachable: 
> - web server from Internet (with either the domain name or the public IP 
> address from the router); 
> - web server from LAN (only with the LAN IP address of my web server). 
> 
> Unreachable: 
> - web server from LAN with it's domain name. 
> Normal, without telling unbound it is a local server. 

Setup unbound with a local-zone and local-data, which will override 
what your Internet facing DNS servers provide (simplest). Or use an 
authoritative server such as NSD for your internal network and set up 
a stub-zone in Unbound. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://unbound.nlnetlabs.nl/pipermail/unbound-users/attachments/20170925/9d613417/attachment-0001.html>