Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # DNS --------------------------------------------------------------------------
- # Never forward plain names (without a dot or domain part)
- domain-needed
- # Never forward addresses in the non-routed address spaces.
- bogus-priv
- # If you don't want dnsmasq to read /etc/resolv.conf
- no-resolv
- no-poll
- # DHCP and DNS interface and address
- interface=enp0s25
- listen-address=::1,127.0.0.1
- # Upstream Google and Cloudflare nameservers
- server=8.8.8.8
- server=1.1.1.1
- # DNS entires-------------------------------------------------------------------
- address=/example.com/10.0.19.2
- address=/example.org/10.0.19.2
- # DHCP -------------------------------------------------------------------------
- dhcp-authoritative
- dhcp-range=10.0.19.51,10.0.19.199,255.255.255.0,480h
- # gateway
- dhcp-option=option:router,10.0.19.1
- # DHCP static IPs --------------------------------------------------------------
- # must be within the dhcp range defined above
- # mac address : ip address
- dhcp-host=08:00:27:68:f9:bf,10.0.19.20
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement