<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000'>Hi Sonic,<br><br>Thank you for your advice.<br><br>I think I will go for the local-zone and local-data solution.<br>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.<br><br>Thanks again. :)<br><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b>"Sonic" <sonicsmith@gmail.com><br><b>À: </b>"Ludo" <ludovic.macros@free.fr><br><b>Cc: </b>unbound-users@unbound.net<br><b>Envoyé: </b>Lundi 25 Septembre 2017 20:31:24<br><b>Objet: </b>Re: Configuration for local server<br><br>On Mon, Sep 25, 2017 at 11:57 AM, Ludo via Unbound-users<br><unbound-users@unbound.net> wrote:<br>> Reachable:<br>> - web server from Internet (with either the domain name or the public IP<br>> address from the router);<br>> - web server from LAN (only with the LAN IP address of my web server).<br>><br>> Unreachable:<br>> - web server from LAN with it's domain name.<br>> Normal, without telling unbound it is a local server.<br><br>Setup unbound with a local-zone and local-data, which will override<br>what your Internet facing DNS servers provide (simplest). Or use an<br>authoritative server such as NSD for your internal network and set up<br>a stub-zone in Unbound.<br></div><br></div></body></html>