snarkOS icon indicating copy to clipboard operation
snarkOS copied to clipboard

Groth16 Allow IPv4 Connections Specified With DNS

Open FFEvan opened this issue 4 years ago • 1 comments

Motivation

In debugging running a local version of snarkOS on my machine I was trying to connect the bootnode, the client, and the miner over DNS for purposes of assigning dynamic IPs to the containers to run the network locally via dockers recommendation here and the compose recommendation here. I was able to add IPv4 DNS resolution using the rust standard library, this makes the docker-compose network easier to use on Windows and Mac, allowing snarkOS nodes to be configured using docker's special DNS names.

Test Plan

I built the new ubuntu docker image created by @zosorock and updated @zosorock's docker-compose file to support a new --host flag. I was able to get a local network running and communicating with this setup.

Related PRs

https://github.com/AleoHQ/snarkOS/pull/1082

FFEvan avatar Sep 10 '21 22:09 FFEvan

Admin: Please respond with "build this" in order to build this PR.

aleo-svc-exp avatar Aug 01 '22 23:08 aleo-svc-exp

Closing, as the node has changed significantly since this PR was published.

ljedrz avatar Dec 23 '22 11:12 ljedrz