Guest User

First DNS Server Configs

a guest
Nov 7th, 2013
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  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. //
  21. // Do any local configuration here
  22. //
  23.  
  24. // Consider adding the 1918 zones here, if they are not used in your
  25. // organization
  26. //include "/etc/bind/zones.rfc1918";
  27.  
  28.  
  29. zone "10.10.10.in-addr.arpa" {
  30. type master;
  31. file "/etc/bind/zones/10.10.10.rev.db";
  32. };
  33.  
  34. zone "dns.lan" {
  35. type master;
  36. file "/etc/bind/zones/kaps.dns.db";
  37. };
  38.  
  39. zone "webstage.lan" {
  40. type master;
  41. file "/etc/bind/zones/kaps.webstage.db";
  42. };
  43.  
  44.  
  45. -- dns.lan.db --
  46.  
  47. $TTL 38400
  48. dns.lan. IN SOA dns.lan. root.dns.lan. (201311070 10800 180 129600 38400)
  49.  
  50. ns IN A 10.10.10.99
  51. @ IN NS ns.dns.lan.
  52.  
  53. @ IN A 10.10.10.99
  54.  
  55. -- webstage.lan.db --
  56.  
  57. $TTL 38400
  58. webstage.lan. IN SOA ns.webstage.lan. root.webstage.kaps. (201311070 10800 180 1209600 38400)
  59.  
  60. ns IN A 10.10.10.67
  61. @ IN NS ns.webstage.lan.
Advertisement
Add Comment
Please, Sign In to add comment