This commit changes the DNS resolver's initialization to use the system's configured nameservers instead of the default nameserver provided by hickoery-resolver crate.
The Resolver::from_system_conf() method is now used to initialize the DNS resolver. This method attempts to read the system's nameserver configuration, which may come from various sources such as /etc/resolv.conf.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Description of changes:
This commit changes the DNS resolver's initialization to use the system's configured nameservers instead of the default nameserver provided by hickoery-resolver crate.
The
Resolver::from_system_conf()
method is now used to initialize the DNS resolver. This method attempts to read the system's nameserver configuration, which may come from various sources such as/etc/resolv.conf
.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.