Aller au contenu
View in the app

A better way to browse. Learn more.

Next

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

dnsmasq

Featured Replies

Posté(e)

Bonjour

J'ai un petit soucis avec mon dnsmasq.

Tout semble fonctionner, sauf mes alias, et un host externe (ma dedibox dans le /etc/hosts)

en gros, dans mon /etc/hosts, j'ai:

192.168.0.142 toto-eth
192.168.0.143 toto-wif
88.191.xx.xx dedibox

et dans /etc/dnsmasq.conf

dhcp-host=unemac,192.168.0.142,infinite
dhcp-host=unemac,192.168.0.143,infinite
cname=toto,toto-eth
cname=mephibox,dedibox

donc, en gros:

du serveur, avec dnsmasq

- je ping correctement dedibox, toto-eth, toto-wif, toto et mephibox

d'un client du reseau

- je ping correctement toto-eth, toto-wif

- je ne resolve pas les autres (au ping), mais par contre, au nslookup, j'ai bien l'ip qui me revient

faust@alpha ~ : ping dedibox											  12:47
ping: unknown host dedibox
faust@alpha ~ : nslookup mephibox										 12:47
Server:		192.168.0.254
Address:	192.168.0.254#53

mephibox	canonical name = dedibox.
Name:	dedibox
Address: 88.191.xx.xx
faust@alpha ~ :

je ne vois pas bien ce que j'ai pu faire...

un autre exemple, quand je fais un nslookup d'un alias, sur les log du serveur, on voit ca:

Feb 20 12:57:55 omega dnsmasq[4353]: query[A] iphone.faust-network from 192.168.0.42
Feb 20 12:57:55 omega dnsmasq[4353]: cached iphone.faust-network is NXDOMAIN-IPv4
Feb 20 12:57:55 omega dnsmasq[4353]: query[A] iphone from 192.168.0.42
Feb 20 12:57:55 omega dnsmasq[4353]: config iphone is <CNAME>
Feb 20 12:57:55 omega dnsmasq[4353]: /etc/hosts epsilon is 192.168.0.242

tandis que quand je ping cet host, les log donne ca:

Feb 20 12:59:20 omega dnsmasq[4353]: query[A] iphone.faust-network from 192.168.0.42
Feb 20 12:59:20 omega dnsmasq[4353]: cached iphone.faust-network is NXDOMAIN-IPv4

a partir de la, je veux bien croire que mes alias sont foireux.

mais alors, pourquoi quand je fais la meme manipulation en resolvant dedibox, qui est explicitement donne dans le /etc/hosts, ca ne resolve pas non plus ? (memes debug)

niveau configuration cote domaine, rien de special.

domain=mondomaine,192.168.0.0/16

expand-hosts

localmx

selfmx

[mes cname]

bref, je seche...

quelqu'un aurait-il deja croise ca ? des idees ?

Merci :francais:

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.