mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-11-03 13:40:08 +00:00
68 lines
1.3 KiB
Plaintext
68 lines
1.3 KiB
Plaintext
#----------------------------------------------------------------------
|
|
#
|
|
#----------------------------------------------------------------------
|
|
# DNS
|
|
|
|
# Never forward plain names (without a dot or domain part)
|
|
domain-needed
|
|
# Never forward addresses in the non-routed address spaces.
|
|
bogus-priv
|
|
|
|
resolv-file=/etc/resolv.conf
|
|
|
|
local-service
|
|
|
|
listen-address=::1,127.0.0.1,10.0.0.1,10.1.1.1
|
|
|
|
expand-hosts
|
|
domain-needed
|
|
|
|
#local=/adm/
|
|
local=/srv/
|
|
|
|
domain=adm,admin
|
|
domain=adm,10.0.0.0/24
|
|
|
|
domain=srv,lan
|
|
domain=srv,10.1.1.0/24
|
|
|
|
domain=srv
|
|
|
|
|
|
|
|
#----------------------------------------------------------------------
|
|
# DHCP
|
|
|
|
dhcp-fqdn
|
|
dhcp-authoritative
|
|
|
|
dhcp-range=192.168.1.0,static
|
|
dhcp-range=interface:admin,10.0.0.20,10.0.0.200,12h
|
|
dhcp-range=interface:lan,10.1.1.20,10.1.1.200,12h
|
|
|
|
# ns
|
|
address=/ns/10.0.0.1
|
|
address=/ns/10.1.1.1
|
|
|
|
# gate
|
|
address=/gate/10.0.0.2
|
|
address=/gate/10.1.1.2
|
|
dhcp-option=admin,option:router,10.0.0.2
|
|
dhcp-option=lan,option:router,10.1.1.2
|
|
dhcp-host=admin,gate,10.0.0.2,infinite
|
|
dhcp-host=lan,gate,10.1.1.2,infinite
|
|
|
|
# pve
|
|
address=/pve/10.0.0.254
|
|
|
|
|
|
|
|
#----------------------------------------------------------------------
|
|
# MISC
|
|
|
|
# Include all files in a directory which end in .conf
|
|
conf-dir=/etc/dnsmasq.d/,*.conf
|
|
|
|
|
|
#----------------------------------------------------------------------
|