feat: add VayDNS transport support#78
Conversation
|
Thanks @FarmehrF for sending this PR. We really appreciate it. Since we recently have implemented a lot of new features and changes on VayDNS, I wonder if you can help us out here with updating this PR? There are also some new flags added recently to VayDNS needed to be supported here as well with proper default values. Also to simplify the process and to keep this PR more focused, I'd suggest ignoring |
|
Hi @crazydi4mond — thanks for the review and for spelling out what you wanted from the VayDNS side. Here is what this branch does now: Alignment with current VayDNS defaults Server-side idle/keepalive defaults in config match upstream: 60s / 10s for native VayDNS, and 2m / 10s when dnstt_compat is enabled (mirroring vaydns-server behaviour with -dnstt-compat). Interactive tunnel add for VayDNS asks whether to use DNSTT-compatible wire format. You asked to hard-code -record-type txt on the vaydns-server command. I tried that first, but in practice several deployed servers still run builds that do not define -record-type, which causes flag provided but not defined: -record-type and the unit exits. To keep dnstm usable on those hosts, the generated ExecStart omits -record-type; behaviour stays TXT where that is the default, and older binaries keep working. If you prefer, we could add an optional config knob later (e.g. “emit record-type when supported”) or gate on version — happy to follow your preference. |
|
@FarmehrF As DNSTM does not support VayDNS atm, |
added vaydns support for the backends