Guest User

Untitled

a guest
Nov 23rd, 2017
345
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. $TTL 604800
  2. @ IN SOA ns.example.com. root.example.com. (
  3. 12 ; Serial
  4. 604800 ; Refresh
  5. 86400 ; Retry
  6. 2419200 ; Expire
  7. 604800 ) ; Negative Cache TTL
  8. @ IN NS ns.example.com.
  9. @ IN NS ns2.example.com.
  10. @ IN MX 10 mail.example.com.
  11. @ IN A 192.168.1.109
  12. example.com. IN A 192.168.1.109
  13. ns IN A 192.168.1.109
  14. ns2 IN A 192.168.1.109
  15. mail IN A 192.168.1.109
  16. www IN A 192.168.1.109
  17.  
  18. $TTL 604800
  19. @ IN SOA ns.example.com. root.example.com. (
  20. 9 ; Serial
  21. 604800 ; Refresh
  22. 86400 ; Retry
  23. 2419200 ; Expire
  24. 604800 ) ; Negative Cache TTL
  25. @ IN NS ns.example.com.
  26. @ IN NS ns2.example.com.
  27. 109 IN PTR example.com.
  28. 109 IN PTR ns.example.com.
  29. 109 IN PTR ns2.example.com.
  30.  
  31. acshellam@dev1:/tmp$ named-checkzone example.com example.com.zone
  32. zone example.com/IN: loaded serial 12
  33. OK
  34.  
  35. acshellam@dev1:/tmp$ named-checkzone -v
  36. 9.6.1-P2
  37.  
  38. named-checkzone 1.168.192.in-addr.arpa <reverse zone file>
  39.  
  40. q@y:~/foo$ named-checkzone example.com 1.168.192.in-addr.arpa
  41. zone example.com/IN: NS 'ns.example.com' has no address records (A or AAAA)
  42. zone example.com/IN: NS 'ns2.example.com' has no address records (A or AAAA)
  43. zone example.com/IN: loaded serial 9
  44. OK
Add Comment
Please, Sign In to add comment