Advertisement
Guest User

Untitled

a guest
May 17th, 2020
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.01 KB | None | 0 0
  1. # DNS --------------------------------------------------------------------------
  2.  
  3. # Never forward plain names (without a dot or domain part)
  4. domain-needed
  5. # Never forward addresses in the non-routed address spaces.
  6. bogus-priv
  7.  
  8. # If you don't want dnsmasq to read /etc/resolv.conf
  9. no-resolv
  10. no-poll
  11.  
  12. # DHCP and DNS interface and address
  13. interface=enp0s25
  14. listen-address=::1,127.0.0.1
  15.  
  16. # Upstream Google and Cloudflare nameservers
  17. server=8.8.8.8
  18. server=1.1.1.1
  19.  
  20. # DNS entires-------------------------------------------------------------------
  21.  
  22. address=/example.com/10.0.19.2
  23. address=/example.org/10.0.19.2
  24.  
  25. # DHCP -------------------------------------------------------------------------
  26.  
  27. dhcp-authoritative
  28. dhcp-range=10.0.19.51,10.0.19.199,255.255.255.0,480h
  29. # gateway
  30. dhcp-option=option:router,10.0.19.1
  31.  
  32. # DHCP static IPs --------------------------------------------------------------
  33. # must be within the dhcp range defined above
  34. # mac address : ip address
  35.  
  36. dhcp-host=08:00:27:68:f9:bf,10.0.19.20
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement