Forum » Omrežja in internet » Blokiranje preko dnsmasq - 0 ali 127?
Blokiranje preko dnsmasq - 0 ali 127?
![](https://static.slo-tech.com/stili/avatar_gray.gif)
CyberPunk ::
Ce hocem blokirati hoste/domene v lokalni mrezi na DD-WRT preko dnsmasq nastavitev - je boljse uporabiti IP 127.0.0.1 ali 0.0.0.0?
Torej npr.
address=/doubleclick.com/127.0.0.1
ali
address=/doubleclick.com/0.0.0.0
Torej npr.
address=/doubleclick.com/127.0.0.1
ali
address=/doubleclick.com/0.0.0.0
![](https://static.slo-tech.com/stili/avatar_gray.gif)
SasoS ::
Napišeš brez IP-ja:
this tells dnsmasq that a domain is local and it may answer queries from /etc/hosts or DHCP but should never forward queries on that domain to any upstream servers.
edit: to velja za local=/ parameter. Pomoje je bolje vrnit domain not found, kot redirect na 127.0.0.1.
this tells dnsmasq that a domain is local and it may answer queries from /etc/hosts or DHCP but should never forward queries on that domain to any upstream servers.
edit: to velja za local=/ parameter. Pomoje je bolje vrnit domain not found, kot redirect na 127.0.0.1.
Zgodovina sprememb…
- spremenilo: SasoS ()
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | Mikrotik - OpenVPNOddelek: Omrežja in internet | 1756 (1404) | mrsmoke |
» | Win 7 routing dveh mrežnih karticOddelek: Omrežja in internet | 1669 (1565) | Spc |
» | USAIPOddelek: Omrežja in internet | 3012 (2428) | Pesimist |
» | vista in dve mrežni kartici - problemOddelek: Omrežja in internet | 2516 (2342) | sosko1 |
» | google analyticsOddelek: Slo-Tech | 3152 (2622) | roli |