1. Overview
DNS resolver interface. Declares reverse DNS lookup for destination-address enrichment.
The original source path is:
include/bsc/net/DnsResolver.hpp
2. Role in the Daemon
This file participates in the privileged BastionGuard Secure Connection daemon. It uses the shared bsc models and follows the daemon-wide fallback strategy: optional high-fidelity backends are used when available, while portable polling or stub behavior preserves service startup.
3. Namespaces
bsc::net
4. Dependencies and Included Interfaces
string
5. Declared Types
class DnsResolver
6. API and Functions
The file declares or implements the following callable entry points:
public: std::string reverse_lookup(const std::string& ip) const
7. Implementation Considerations
- The file follows the daemon-wide convention of returning status values or optional objects instead of making recoverable conditions fatal.
8. Source Metrics
| Metric | Value |
|---|---|
| File size | 173 bytes |
| Lines | 11 |
| Detected API entries | 1 |
| Detected types | 1 |
