Skip to content

Config Generator #4

@crazydi4mond

Description

@crazydi4mond

Config Generator

Depends on: #3 (Scanner Orchestration)

Summary

Generate gost configuration files from scanner results and user settings.

Motivation: gost is configured via config files. dnstc needs to dynamically generate these based on discovered resolvers and transport instances.

Design

Generated configs:

  • DNS proxy config (resolver pool, load balancing)
  • Transport load balancer config (if multi-instance)

Config content:

  • Resolver list from scanner results
  • Selector strategy (round-robin, random, etc.)
  • Failure thresholds for health management
  • Upstream transport instances

Triggers:

  • Scanner completion → regenerate resolver config
  • Instance add/remove → regenerate transport config
  • Manual reload command

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions