From 39b2bc2174a6a25a0e727ecc12bb0edadaac689f Mon Sep 17 00:00:00 2001 From: Silvino Silva Date: Fri, 18 May 2018 15:40:56 +0100 Subject: vai tomar no cu --- tools/conf/etc/dnsmasq.conf | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) (limited to 'tools/conf/etc/dnsmasq.conf') diff --git a/tools/conf/etc/dnsmasq.conf b/tools/conf/etc/dnsmasq.conf index b8da62e..0bf96af 100644 --- a/tools/conf/etc/dnsmasq.conf +++ b/tools/conf/etc/dnsmasq.conf @@ -69,7 +69,9 @@ no-poll #server=127.0.0.1#40 #server=213.73.91.35 #server=37.235.1.174 -server=84.200.69.80 +#server=84.200.69.80 +#sapo +server=212.55.154.174 # Example of routing PTR queries to nameservers: this will send all # address->name queries for 192.168.3/24 to nameserver 10.1.2.3 @@ -77,12 +79,12 @@ server=84.200.69.80 # Add local-only domains here, queries in these domains are answered # from /etc/hosts or DHCP only. -local=/c9/ +local=/ank/ # Add domains which you want to force to an IP address here. # The example below send any host in double-click.net to a local # web-server. -#address=/double-click.net/127.0.0.1 +address=/hive.gnu.systems/10.0.0.4 # --address (and --server) work with IPv6 addresses too. #address=/www.thekelleys.org.uk/fe80::20d:60ff:fe36:f83 @@ -160,8 +162,8 @@ expand-hosts # 2) Sets the "domain" DHCP option thereby potentially setting the # domain of all systems configured by DHCP # 3) Provides the domain part for "expand-hosts" -domain=c9,10.0.0.0/8 -dhcp-option=15,c9 +domain=ank,10.0.0.0/8 +dhcp-option=15,ank # Set a different domain for a particular subnet #domain=wireless.thekelleys.org.uk,192.168.2.0/24 @@ -169,6 +171,12 @@ dhcp-option=15,c9 # Same idea, but range rather then subnet #domain=reserved.thekelleys.org.uk,192.68.3.100,192.168.3.200 +address=/.akamai.net/127.0.0.1 +address=/.firefox.com/127.0.0.1 +address=/.google.com/127.0.0.1 +address=/.stripe.com/127.0.0.1 +address=/.mozilla.com/127.0.0.1 + # Uncomment this to enable the integrated DHCP server, you need # to supply the range of addresses available for lease and optionally # a lease time. If you have more than one network, you will need to @@ -249,9 +257,11 @@ dhcp-range=10.0.0.100,10.0.0.200,255.0.0.0,2h #dhcp-host=11:22:33:44:55:66,192.168.0.60 #dhcp-host=54:60:BE:EF:5C:72,10.0.0.2 -dhcp-host=50:67:f0:a1:bc:ab,cr1,10.0.0.1,infinite -dhcp-host=00:14:BF:6E:61:21,cr2,10.0.0.2,infinite -dhcp-host=54:60:BE:EF:5C:64,c14,10.0.0.4,infinite +dhcp-host=50:67:f0:a1:bc:ab,router,10.0.0.1,infinite +dhcp-host=00:14:BF:6E:61:21,lan,10.0.0.2,infinite +dhcp-host=54:60:be:ef:5c:54,c1,10.0.0.3,infinite +dhcp-host=54:60:be:ef:5c:14,c2,10.0.0.4,infinite +dhcp-host=54:60:be:ef:5c:a1,c18,10.0.0.5,infinite # Always set the name of the host with hardware address # 11:22:33:44:55:66 to be "fred" #dhcp-host=11:22:33:44:55:66,fred -- cgit 1.4.1-2-gfad0