framapiaf.org est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Un service Mastodon fourni par l'association d’éducation populaire Framasoft.

Administré par :

Statistiques du serveur :

1,4K
comptes actifs

#dnsmasq

0 message0 participant0 message aujourd’hui

At home, I have a Linux router with #dnsmasq where DHCP leases are in /etc/ethers and /etc/hosts.

My new #FLX1 is based on Android, and keeps changing the MAC address it advertises to DHCP servers. But I don't want this at home: there are no privacy issues there.

Fix:

nmcli con modify $NETWORK_NAME wifi.cloned-mac-address 00:11:22:33:44:55

A répondu dans un fil de discussion

@DJGummikuh Hi, #reForis is actually made to be compatible with #LuCI as much as possible. Only thing where we differ is #DNS settings. We are using #KnotResolver (for #DNSSEC and more). You can enable #dnsmasq and ignore DNS settings in reForis. For the rest of the system, we are just handling #updates 😉 But we push all necessary patches to #vanilla kernel, so you can install not only #OpenWrt (there is #community contributed howto on their wiki), but also many other #Linux distributions 😉

What's the easiest way to set up (e.g. using a nice script or other program) a local #DNS on a range of platforms, and configure it to handle wildcard subdomains on #localhost?

😆

A quick search shows #dnsmasq can be used on Linux and Windows at least, but I wonder if anyone has faced this problem before and made a neat cross-platform solution?

I want <anything>.localhost to resolve to localhost and be handled by a server which runs on the local device (ideally Win, Mac, Linux and Android).

#Erledigt 👍

Wie finde ich die #UID von #dnsmasq unter #iodeOS heraus? Handy ist gerootet.

Ich will ausprobieren, ob folgendes bei mir auch beim Tethering hilft:
iptables -I afwall-wifi-tether 1 -p udp -m owner --uid-owner 1052 -m udp --sport 53 -j RETURN
iptables -I afwall-wifi-tether 1 -p tcp -m owner --uid-owner 1052 -m tcp --sport 53 -j RETURN

Edit: Die Befehle von omaer0 haben bei mir nichts bewirkt. Keine Ausgabe.

github.com/ukanth/afwall/issue

GitHubDNS problem when tethering · Issue #1219 · ukanth/afwallPar MartinEichner

This costed me *hours*. If you ever have this problem with #FreeBSD pkg:
------------------
pkg: No SRV record found for the repo 'FreeBSD'
pkg: packagesite URL error for pkg+pkg.FreeBSD.org/FreeBSD:13:amd -- pkg+:// implies SRV mirror type
-----------------
In other words, your computers fail to resolve "SRV" DNS records ... AND you are using #dnsmasq or #openwrt, then:

Check whether you have the option "filterwin2k" on. Switch it off. In the #openwrt router it is disguised as "Filter useless".

A répondu dans un fil de discussion

@Shamar I'm used to #dnsmasq, but there are probably others. I use it to serve my local network's #DHCP+#DNS coordinated services, meaning if a new client tells the DHCP server its hostname, DNS will abide to it and the rest of the machines will be able to reach it by name.

As for the system wide config, it depends a lot on which tool you're using to configure your network interfaces. It's most probably #NetwortManager, so check it's doc about setting a fixed DNS server.