easyns-agent-example.toml 528 B

123456789101112131415161718192021222324252627282930
  1. version = "0.1"
  2. debug = false
  3. [protocol]
  4. version = "1"
  5. [log]
  6. stdout = true
  7. [backend]
  8. backend = "discovery"
  9. [backend.config]
  10. url = "http://api.bilibili.co"
  11. appKey = "0c4b8fe3ff35a4b6"
  12. secret = "b370880d1aca7d3a289b9b9a7f4d6812"
  13. [dns]
  14. addr = "127.0.0.1"
  15. port = 15353
  16. [dns.config]
  17. ttl = "30s"
  18. allowStale = true
  19. udpAnswerLimit = 3
  20. maxStale = "87600s"
  21. recursorTimeout = "2s"
  22. domain = "bili."
  23. recursors = ["10.23.194.202"]
  24. [http]
  25. addr = "127.0.0.1"
  26. port = 15380