Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. push "dhcp-option DOMAIN yourdomain.local"
  2. push "dhcp-option DNS X.X.X.X"
  3.  
  4. push "redirect-private bypass-dns"
  5.  
  6. zone "local" IN {
  7. type master;
  8. allow-update { none; };
  9. notify no;
  10. file "/etc/bind/local.zone";
  11. };
  12.  
  13. $TTL 600
  14. @ IN SOA dns.local. root.local. (
  15. 2018061001 ; serial
  16. 12h ; refresh
  17. 1h ; retry
  18. 2w ; expire
  19. 1h ; minimum
  20. )
  21. ;
  22. NS ns ; Inet Address of name server
  23. MX 10 mail.local. ; Primary Mail Exchanger
  24. MX 20 mail.local. ; Secondary Mail Exchanger
  25. localhost IN A 127.0.0.1
  26. dns IN A 172.31.0.1
  27. ns IN A 172.31.0.1
  28. mail IN A 172.31.0.1
  29. client100 IN A 172.31.0.100
  30. client101 IN A 172.31.0.101
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement