SHARE
TWEET

Untitled

a guest May 27th, 2018 208 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. webserver=yes
  2. webserver-address=172.22.22.35
  3. webserver-allow-from=127.0.0.1,::1,10.0.9.1/24,10.0.0.1/24,172.22.22.1/24
  4. webserver-port=8081
  5. api=yes
  6. api-key=123456
  7. allow-axfr-ips=external_ip/32
  8. config-dir=/etc/powerdns
  9. daemon=yes
  10. disable-axfr=no
  11. disable-tcp=no
  12. guardian=yes
  13. local-address=0.0.0.0
  14. local-port=53
  15. log-dns-details=on
  16. loglevel=4
  17. module-dir=/usr/lib/x86_64-linux-gnu/pdns/
  18. master=yes
  19. slave=no
  20. cache-ttl=20
  21. negquery-cache-ttl=60
  22. query-cache-ttl=20
  23. slave=no
  24. socket-dir=/var/run
  25. version-string=anonymous
  26. include-dir=/etc/powerdns/pdns.d
  27. launch=
  28. setgid=pdns
  29. setuid=pdns
  30.  
  31.  
  32.  
  33. # MySQL Configuration file (pdns.local.gmysql.conf)
  34.  
  35. launch=gmysql
  36. gmysql-host=localhost
  37. gmysql-dbname=pdns
  38. gmysql-user=pdns
  39. gmysql-password=123456
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46. root@ns2:/etc/powerdns/pdns.d# pdnsutil list-zone example.com
  47. May 27 08:17:53 Reading random entropy from '/dev/urandom'
  48. May 27 08:17:53 [bindbackend] Parsing 0 domain(s), will report when done
  49. May 27 08:17:53 [bindbackend] Done parsing domains, 0 rejected, 0 new, 0 removed
  50. $ORIGIN .
  51. api.example.com.example.com 3600    IN  A   50.50.50.189
  52. build.example.com.example.com   3600    IN  A   50.50.50.189
  53. ef8779f2-d2d6-11e4-9a0f-33fa1da64805._domainkey.example.com.example.com 3600    IN  TXT "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDJ7uTXHXliahxZwSXcUaP1WtVG1H1pKnXMknwc/qsGOwvdh/GxWYD2Skk4h/HB125oD/nIjrUnj3J51cv1d7B2LGF24Cmwehmvm4OJbxvC+ybMKsLnn+BYIboYLmXBIgFPRfdBidedvdwIylX6EhlZyNEpaoiEWryZXk9qNL6BMwIDAQAB"
  54. example.com 3600    IN  NS  ns1.example.com.
  55. example.com 3600    IN  NS  ns2.example.com.
  56. example.com 3600    IN  SOA ns1.example.com hostmaster.example.com 2018052612 14400 3600 604800 3600
  57. example.com.example.com 3600    IN  A   50.50.50.189
  58. example.com.example.com 3600    IN  MX  10 mf1.example.com.example.com.
  59. example.com.example.com 3600    IN  TXT "v=spf1 ip4:50.50.50.189 ip4:50.50.50.165 ip4:50.50.50.166 a mx ~all"
  60. example.com._report._dmarc.example.com.example.com  3600    IN  TXT "v=DMARC1"
  61. mf1.example.com.example.com 3600    IN  A   50.50.50.165
  62. mn1.example.com.example.com 3600    IN  A   50.50.50.170
  63. ms1.example.com.example.com 3600    IN  A   50.50.50.168
  64. mx1.example.com.example.com 3600    IN  A   50.50.50.166
  65. ns2.example.com.example.com 3600    IN  A   104.131.105.35
  66. ps1.example.com.example.com 3600    IN  A   50.50.50.167
  67. stats.example.com.example.com   3600    IN  A   50.50.50.189
  68. sync.example.com.example.com    3600    IN  A   50.50.50.189
  69. www.example.com.example.com 3600    IN  A   50.50.50.189
  70. _dmarc.example.com.example.com  3600    IN  TXT "v=DMARC1; p=reject; rua=mailto:dmarc@example.com; ruf=mailto:dmarc@example.com; adkim=s; aspf=s"
  71. _xmpp-client._tcp.example.com.example.com   3600    IN  SRV 5 0 5222 ms1.example.com.example.com.
  72. _xmpp-server._tcp.example.com.example.com   3600    IN  SRV 5 0 5269 ms1.example.com.example.com.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top