-
Notifications
You must be signed in to change notification settings - Fork 47
Saving endpoint DNS to config #95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Initial test in the demo environment does not seem to be working, endpoint hostname is still getting resolved to an IP address immediately during configuration. ./wiretap configure -e wiretap-client-1:51820 -r 10.2.0.0/16
...
server command:
POSIX Shell: ... WIRETAP_RELAY_PEER_ENDPOINT=10.1.0.2:51820 ... cat wiretap_server.conf
[Relay.Interface]
PrivateKey = [...]
Port = 51820
[Relay.Peer]
PublicKey = [...]
Endpoint = 10.1.0.2:51820 |
The logic that I'm using to check for DNS doesn't account for numbers in the name. I will go back and fix that. |
Seems to be working now with |
If a DNS name is specified as an endpoint during
configure
, the DNS name gets stored in the configuration file. Name resolution occurs duringserve
.Addresses issue #87