Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@stlankes
Copy link
Contributor

@stlankes stlankes commented May 23, 2024

Per default, Hermit's (static) network interface uses 9.9.9.9 (Quad9) and 1.1.1.1 (Cloudflare) as DNS servers. The default configuration could be overloaded at compile time by the environment variables HERMIT_DNS1 and HERMIT_DNS2. For instance, the following command sets the DNS servers to 8.8.8.8 and 8.8.4.4 .

HERMIT_DNS1="8.8.8.8" HERMIT_DNS2="8.8.4.4" cargo build -Z build-std=std,core,alloc,panic_abort --target x86_64-unknown-hermit --features hermit/dns,hermit/tcp

@mkroening mkroening added this pull request to the merge queue May 24, 2024
Merged via the queue into hermit-os:main with commit 4f7cdc9 May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants