Guest User

First DNS Server Configs

a guest
Nov 7th, 2013
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- NAMED.CONF.OPTIONS --
  2.  
  3. options {
  4. directory "/var/cache/bind";
  5. forwarders {
  6. 10.10.10.2;
  7. };
  8.  
  9. dnssec-validation auto;
  10.  
  11. auth-nxdomain no; # conform to RFC1035
  12. listen-on-v6 { any; };
  13.  
  14. allow-transfer { 10.10.10.67; };
  15. notify yes;
  16. };
  17.  
  18. -- NAMED.CONF.LOCAL --
  19.  
  20. zone "10.10.10.in-addr.arpa" {
  21. type master;
  22. file "/etc/bind/zones/10.10.10.rev.db";
  23. };
  24.  
  25. zone "dns.lan" {
  26. type master;
  27. file "/etc/bind/zones/dns.lan.db";
  28. };
  29.  
  30. zone "webstage.lan" {
  31. type master;
  32. file "/etc/bind/zones/webstage.lan.db";
  33. };
  34.  
  35.  
  36. -- dns.lan.db --
  37.  
  38. $TTL 38400
  39. dns.lan. IN SOA dns.lan. root.dns.lan. (201311070 10800 180 129600 38400)
  40.  
  41. ns IN A 10.10.10.99
  42. @ IN NS ns.dns.lan.
  43.  
  44. @ IN A 10.10.10.99
  45.  
  46. -- webstage.lan.db --
  47.  
  48. $TTL 38400
  49. webstage.lan. IN SOA ns.webstage.lan. root.webstage.kaps. (201311070 10800 180 1209600 38400)
  50.  
  51. ns IN A 10.10.10.67
  52. @ IN NS ns.webstage.lan.
Advertisement
Add Comment
Please, Sign In to add comment