Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.42 KB | None | 0 0
  1. forward zóna
  2.  
  3. $TTL 86400
  4. @ IN SOA pri.ostechnix.lan. root.ostechnix.lan. (
  5. 2011071001 ;Serial
  6. 3600 ;Refresh
  7. 1800 ;Retry
  8. 604800 ;Expire
  9. 86400 ;Minimum TTL
  10. )
  11. @ IN NS pri.ostechnix.lan.
  12. @ IN NS sec.ostechnix.lan.
  13. @ IN A 192.168.1.200
  14. @ IN A 192.168.1.201
  15. @ IN A 192.168.1.202
  16. pri IN A 192.168.1.200
  17. sec IN A 192.168.1.201
  18. client IN A 192.168.1.202
  19.  
  20.  
  21. reverse zóna
  22.  
  23. $TTL 86400
  24. @ IN SOA pri.ostechnix.lan. root.ostechnix.lan. (
  25. 2011071002 ;Serial
  26. 3600 ;Refresh
  27. 1800 ;Retry
  28. 604800 ;Expire
  29. 86400 ;Minimum TTL
  30. )
  31. @ IN NS pri.ostechnix.lan.
  32. @ IN NS sec.ostechnix.lan.
  33. @ IN PTR ostechnix.lan.
  34. pri IN A 192.168.1.200
  35. sec IN A 192.168.1.201
  36. client IN A 192.168.1.202
  37. 200 IN PTR pri.ostechnix.lan.
  38. 201 IN PTR sec.ostechnix.lan.
  39. 202 IN PTR client.ostechnix.lan.
  40.  
  41.  
  42. ezután jogosultság állítás kell a mappára:
  43. sudo chmod -R 755 /etc/bind
  44. sudo chown -R bind:bind /etc/bind
  45.  
  46. tesztelés
  47. sudo named-checkconf /etc/bind/named.conf
  48. sudo named-checkconf /etc/bind/named.conf.local
  49.  
  50. ha nem látsz semmit, akkor műküdik
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement