1 package System::Introspector::Probe::ResolvConf;
4 use System::Introspector::Util qw(
9 has resolv_conf_file => (
11 default => sub { '/etc/resolv.conf' },
17 resolv_conf_file => transform_exceptions {
18 my $file = $self->resolv_conf_file;
21 body => scalar output_from_file $file,
33 System::Introspector::ResolvConf - Gather name resolution configuration
37 Reads a C<resolv.conf> file to gather information about name resolution.
41 =head2 resolv_conf_file
43 The path to the C<resolv.conf> file that should be read. Defaults to
50 =item L<System::Introspector>