scripts-bash/etc/dnsmasq.d/acegrp.conf

119 lines
3.4 KiB
Plaintext
Raw Normal View History

2022-11-09 17:18:33 +01:00
alias=8.8.8.8,192.168.100.3
listen-address=127.0.0.1,192.168.100.1
# Never forward plain names (without a dot or domain part)
domain-needed
# Never forward addresses in the non-routed address spaces
bind-dynamic
bogus-priv
filterwin2k
#localise-queries
# Add local-only domains here, queries in these domains are answered
# from /etc/hosts or DHCP only.
local=/acegrp.lan/
domain=acegrp.lan
#expand-hosts
#no-negcache
#no-resolv
clear-on-reload
resolv-file=/tmp/resolv.conf.auto
#dhcp-authoritative
dhcp-leasefile=/tmp/dhcp.leases
#log-queries
#log-dhcp
# use /etc/ethers for static hosts; same format as --dhcp-host
#read-ethers
# activez le serveur DHCP:
# Plage DHCP
dhcp-range=192.168.100.2,192.168.100.251,1h
# Netmask
dhcp-option=1,255.255.255.0
# Route
dhcp-option=3,192.168.100.254
dhcp-option=option:dns-server,192.168.100.3
# Set the NIS domain name to "acegrp.lan"
dhcp-option=40,acegrp.lan
# Send an empty WPAD option. This may be REQUIRED to get windows 7 to behave.
dhcp-option=252,"\n"
# If a DHCP client claims that its name is "wpad", ignore that.
# This fixes a security hole. see CERT Vulnerability VU#598349
dhcp-name-match=set:wpad-ignore,wpad
dhcp-ignore-names=tag:wpad-ignore
#upstream
#server=1.1.1.1
server=9.9.9.10
# Catherine AlienWare
dhcp-host=00:0e:c6:fe:4d:97,,192.168.100.250,infinite
# Cedric Desktop
dhcp-host=74:d4:35:5b:42:0d,,192.168.100.155,infinite
# Luc Desktop - Carte mère
dhcp-host=00:22:4d:9d:47:03,,192.168.100.26,infinite
# Ethernet USB - Glaabit
dhcp-host=00:E0:4C:68:95:37,,192.168.100.28,infinite
# Ordinateur Portable
dhcp-host=80:fa:5b:49:c1:38,,192.168.100.27,infinite
# lexmark41
dhcp-host=00:21:b7:6d:ae:65,,192.168.100.146,infinite
# rpiampere
dhcp-host=b8:27:eb:7b:d0:83,,192.168.100.206,infinite
# Freebox
dhcp-host=34:27:92:85:cb:78,,192.168.100.82,infinite
# acenetwifi
dhcp-host=dc:a6:32:3d:6e:42,,192.168.100.163,infinite
# rpisalon
dhcp-host=b8:27:eb:94:a5:67,,192.168.100.25,infinite
# rpiluc - alias DNS
dhcp-host=dc:a6:32:33:f7:a7,,,192.168.100.59,infinite
cname=ampere.rpiluc001.acegrp.lan,rpiluc001.acegrp.lan
cname=api.ampere.rpiluc001.acegrp.lan,rpiluc001.acegrp.lan
cname=acegbd.rpiluc001.acegrp.lan,rpiluc001.acegrp.lan
cname=awsadmin.rpiluc001.acegrp.lan,rpiluc001.acegrp.lan
cname=bt.rpiluc001.acegrp.lan,rpiluc001.acegrp.lan
cname=dolibarr.rpiluc001.acegrp.lan,rpiluc001.acegrp.lan
cname=dolibarr-3.6.2.rpiluc001.acegrp.lan,rpiluc001.acegrp.lan
cname=erdsystem.rpiluc001.acegrp.lan,rpiluc001.acegrp.lan
cname=ged.rpiluc001.acegrp.lan,rpiluc001.acegrp.lan
cname=memoprix.rpiluc001.acegrp.lan,rpiluc001.acegrp.lan
cname=minecraft.rpiluc001.acegrp.lan,rpiluc001.acegrp.lan
cname=osseam.rpiluc001.acegrp.lan,rpiluc001.acegrp.lan
cname=speedtest.rpiluc001.acegrp.lan,rpiluc001.acegrp.lan
cname=pma.rpiluc001.acegrp.lan,rpiluc001.acegrp.lan
cname=planning.rpiluc001.acegrp.lan,rpiluc001.acegrp.lan
cname=zmhome.rpiluc001.acegrp.lan,rpiluc001.acegrp.lan
cname=zamba.acegrp.lan,rpinas.acegrp.lan
cname=wpad.acegrp.lan,rpiluc001.acegrp.lan
# dskosm001
#dhcp-host=,,192.168.100.61,infinite
#dhcp-host=,,192.168.100.62,infinite
#dhcp-host=,,192.168.100.,infinite
# -- invité --
dhcp-host=d4:5d:64:67:3b:13,dskjojo001,192.168.100.159,infinite
dhcp-host=b0:5a:da:58:57:7b,catwin001,192.168.100.158,infinite
# Delays sending DHCPOFFER and proxydhcp replies for at least the specified number of seconds.
dhcp-mac=set:client_is_a_pi,B8:27:EB:*:*:*
dhcp-reply-delay=tag:client_is_a_pi,2