Skip to content

Commit

Permalink
new warning
Browse files Browse the repository at this point in the history
Co-authored-by: t4lz <t4lz.git@gmail.com>
  • Loading branch information
meowjesty and t4lz authored Aug 7, 2023
1 parent 00bc193 commit e9948f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mirrord/layer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -390,10 +390,10 @@ fn set_globals(config: &LayerConfig) {

if outgoing_selector.is_remote() && !REMOTE_DNS.get().unwrap() {
warn!(
"mirrord outgoing traffic filter is set to resolve host names through the remote \
environment, but the DNS feature is disabled!\nThis is most likely is a mistake!\n\
> Consider turning on the remote DNS resolving feature, or changing the outgoing \
traffic filter to `local`."
"The mirrord outgoing traffic filter includes host names to be connected remotely, \
but the remote DNS feature is disabled, so the addresses of these hosts will be \
resolved locally!\n\
> Consider enabling the remote DNS resolution feature."
);
}

Expand Down

0 comments on commit e9948f6

Please sign in to comment.