Forum » Omrežja in internet » Blokiranje preko dnsmasq - 0 ali 127?
Blokiranje preko dnsmasq - 0 ali 127?
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
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 | 1712 (1360) | mrsmoke |
» | Win 7 routing dveh mrežnih karticOddelek: Omrežja in internet | 1643 (1539) | Spc |
» | USAIPOddelek: Omrežja in internet | 2971 (2387) | Pesimist |
» | vista in dve mrežni kartici - problemOddelek: Omrežja in internet | 2464 (2290) | sosko1 |
» | google analyticsOddelek: Slo-Tech | 3119 (2589) | roli |