# Utiliser La Brique en équipe dans un LAN - serveur DNS local (connexion internet faible/inexistante)

**URL:** <https://forum.yunohost.org/t/utiliser-la-brique-en-equipe-dans-un-lan-serveur-dns-local-connexion-internet-faible-inexistante/1440>\
**Category:** Tutorials\
**Tags:** french\
**Created:** [April 7, 2016, 9:46am UTC](https://forum.yunohost.org/t/utiliser-la-brique-en-equipe-dans-un-lan-serveur-dns-local-connexion-internet-faible-inexistante/1440 "2016-04-07T09:46:51Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![lops](https://forum.yunohost.org/user_avatar/forum.yunohost.org/lops/32/343_2.png) [@lops](https://forum.yunohost.org/u/lops)\
**Post date:** [November 16, 2016, 9:15pm UTC](https://forum.yunohost.org/t/utiliser-la-brique-en-equipe-dans-un-lan-serveur-dns-local-connexion-internet-faible-inexistante/1440/4 "2016-11-16T21:15:01Z")

</div>

Salut, retour d’expérience :

- Etape 1 : pas nécessaire, le fichier /etc/resolv.conf est ré-écrit régulièrement
- Etape 2 et 3 : toujours valable
- Etape 4 : il est conseillé de ne modifier que le “First DNS Resolver” pour 10.0.242.1, cela permet de profiter du “Second DNS resolver” défini par défaut et donc de pouvoir au besoin accéder à internet via le réseau Wifi de la Brique, [merci à SVNET pour le conseil !](https://www.svnet.fr/)
- à chaque redémarrage de la brique, relancer le service dnsmasq

**English summary**  
To access your cube in LAN without editing your /etc/hosts file on each device connected to the Wifi Hotspot, you can :

- edit /etc/dnsmasq.conf on the cube with :

> # Add domains which you want to force to an IP address here.  
> # The example below send any host in [double-click.net](http://double-click.net) to a local  
> # web-server.  
> address=/domain.tld/10.0.242.1

- edit /etc/hosts on the cube by adding the line :  
10.0.242.1 domain.tld
- change the “First DNS resolver” of the Wifi network in the “IPv4” tab of the Wifi Hotspot user interface to 10.0.242.1
- after each reboot, restart dnsmasq service

---

_[View the full topic](https://forum.yunohost.org/t/utiliser-la-brique-en-equipe-dans-un-lan-serveur-dns-local-connexion-internet-faible-inexistante/1440)._
