DNS filter does not work on windows

Description

On Windows, the DNS filter does not work. An exception is reported:

:exception=>#<Errno::ENOENT: No such file or directory- C:/etc/hosts>

I had this:

dns {
resolve => [ "@source_host" ]
action => "replace"
}

Even after creating C:/etc/hosts, the DNS filter still did not properly resolve hostnames

Environment

None

Status

Assignee

Philippe Weber

Reporter

Brian Rak

Labels

Fix versions

Affects versions

Priority

Configure