tlbr

Untitled

Aug 4th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.85 KB | None | 0 0
  1. # cat /etc/designate/pools.yaml
  2.  
  3. - name: default
  4. # The name is immutable. There will be no option to change the name after
  5. # creation and the only way will to change it will be to delete it
  6. # (and all zones associated with it) and recreate it.
  7. description: test pool
  8.  
  9. # List out the NS records for zones hosted within this pool
  10. ns_records:
  11. - hostname: ns1.example.org.
  12. priority: 10
  13. # List out the nameservers for this pool. These are the actual DNS servers.
  14. # We use these to verify changes have propagated to all nameservers.
  15. nameservers:
  16. - host: 172.16.10.111
  17. port: 53
  18. - host: 172.16.10.112
  19. port: 53
  20. # List out the targets for this pool. For DNS there will be one
  21. # entry for each DNS server, as we have to run rndc command on each server
  22. targets:
  23. - type: pdns4
  24. description: test target1
  25.  
  26. # List out the designate-mdns servers from which DNS servers should
  27. # request zone transfers (AXFRs) from.
  28. masters:
  29. - host: 172.16.10.101
  30. port: 53
  31. - host: 172.16.10.102
  32. port: 53
  33. - host: 172.16.10.103
  34. port: 53
  35. # DNS server Configuration options
  36. options:
  37. host: 172.16.10.111
  38. port: 53
  39. api_endpoint: http://172.16.10.111:8081
  40. api_token: VxK9cMlFL5Ae
  41. - type: pdns4
  42. description: test target2
  43.  
  44. # List out the designate-mdns servers from which DNS servers should
  45. # request zone transfers (AXFRs) from.
  46. masters:
  47. - host: 172.16.10.101
  48. port: 53
  49. - host: 172.16.10.102
  50. port: 53
  51. - host: 172.16.10.103
  52. port: 53
  53. # DNS server Configuration options
  54. options:
  55. host: 172.16.10.112
  56. port: 53
  57. api_endpoint: http://172.16.10.112:8081
  58. api_token: VxK9cMlFL5Ae
Add Comment
Please, Sign In to add comment